diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-17 14:47:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 14:47:45 (GMT) |
commit | 4db62e115891425db2a974142a72d8eaaf95eecb (patch) | |
tree | 76862de77aa5b95e61c1855d2832aca6d59873f2 /Tools | |
parent | e2af34fcf84b41189b54e1f2912faded5daabaca (diff) | |
download | cpython-4db62e115891425db2a974142a72d8eaaf95eecb.zip cpython-4db62e115891425db2a974142a72d8eaaf95eecb.tar.gz cpython-4db62e115891425db2a974142a72d8eaaf95eecb.tar.bz2 |
bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 1adabb9..cd492b4 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -3166,16 +3166,6 @@ class float_return_converter(double_return_converter): cast = '(double)' -class DecodeFSDefault_return_converter(CReturnConverter): - type = 'char *' - - def render(self, function, data): - self.declare(data) - self.err_occurred_if_null_pointer("_return_value", data) - data.return_conversion.append( - 'return_value = PyUnicode_DecodeFSDefault(_return_value);\n') - - def eval_ast_expr(node, globals, *, filename='-'): """ Takes an ast.Expr node. Compiles and evaluates it. |