Commit fb88aa78 authored by Stefan Behnel's avatar Stefan Behnel

add comment

parent e5abacf3
......@@ -1661,8 +1661,8 @@ class InlineDefNodeCalls(Visitor.CythonTransform):
function_name = node.function
if not function_name.is_name:
return node
if (function_name.cf_state is None or
not function_name.cf_state.is_single):
if (function_name.cf_state is None # global scope
or not function_name.cf_state.is_single):
return node
function = function_name.cf_state.one().rhs
if not isinstance(function, ExprNodes.PyCFunctionNode):
......
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