Commit d21cdb85 authored by Stefan Behnel's avatar Stefan Behnel

fix name encoding of '__defaults__' helper function

parent 4ba15e76
...@@ -6184,7 +6184,7 @@ class PyCFunctionNode(ExprNode, ModuleNameMixin): ...@@ -6184,7 +6184,7 @@ class PyCFunctionNode(ExprNode, ModuleNameMixin):
value=DefaultsTupleNode( value=DefaultsTupleNode(
self.pos, default_args, self.pos, default_args,
self.defaults_struct)), self.defaults_struct)),
decorators=None, name="__defaults__") decorators=None, name=StringEncoding.EncodedString("__defaults__"))
defaults_getter.analyse_declarations(env) defaults_getter.analyse_declarations(env)
defaults_getter.analyse_expressions(env) defaults_getter.analyse_expressions(env)
defaults_getter.body.analyse_expressions( defaults_getter.body.analyse_expressions(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment