Commit fb88aa78 authored by Stefan Behnel's avatar Stefan Behnel

add comment

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