Commit c638057c authored by gsamain's avatar gsamain Committed by Xavier Thompson

Don't check function calls locks if it's not a function

parent c0632f7d
......@@ -6138,7 +6138,7 @@ class SimpleCallNode(CallNode):
func_type = self.function_type()
if func_type.is_pyobject:
self.arg_tuple.ensure_rhs_locked(env)
else:
elif func_type.is_cfunction:
max_nargs = len(func_type.args)
actual_nargs = len(self.args)
......
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