Commit 2d8145b1 authored by Stefan Behnel's avatar Stefan Behnel

Simplify code and add a comment.

parent 7b018126
......@@ -53,11 +53,10 @@ class SkipDeclarations(object):
return node
def visit_CppClassNode(self, node):
if node.visibility == "extern":
return node
else:
if node.visibility != "extern":
# Need to traverse methods.
self.visitchildren(node)
return node
return node
class NormalizeTree(CythonTransform):
......
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