Commit 3bb8b9e5 authored by gsamain's avatar gsamain Committed by Xavier Thompson

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

parent 42479768
......@@ -6087,7 +6087,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