Commit fd38977b authored by Robert Bradshaw's avatar Robert Bradshaw

Fix one more place object tuples are expected.

parent deb5097c
......@@ -7795,7 +7795,7 @@ class PyCFunctionNode(ExprNode, ModuleNameMixin):
if default_args:
defaults_tuple = TupleNode(self.pos, args=[
arg.default for arg in default_args])
self.defaults_tuple = defaults_tuple.analyse_types(env)
self.defaults_tuple = defaults_tuple.analyse_types(env).coerce_to_pyobject(env)
if default_kwargs:
defaults_kwdict = DictNode(self.pos, key_value_pairs=[
DictItemNode(
......
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