Commit 39232c2c authored by Mark Florisson's avatar Mark Florisson

Fix build error

parent 8fbf6b84
...@@ -63,7 +63,9 @@ class AutoTestDictTransform(ScopeTrackingTransform): ...@@ -63,7 +63,9 @@ class AutoTestDictTransform(ScopeTrackingTransform):
return node return node
def visit_FuncDefNode(self, node): def visit_FuncDefNode(self, node):
if not node.doc or node.fused_py_func: import Nodes
if not node.doc or (isinstance(node, Nodes.DefNode) and
node.fused_py_func):
return node return node
if not self.cdef_docstrings: if not self.cdef_docstrings:
if isinstance(node, CFuncDefNode) and not node.py_func: if isinstance(node, CFuncDefNode) and not node.py_func:
......
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