Commits

Georg Brandl committed 3ae8abe

Add default parent attribute to Node classes.

Comments (0)

Files changed (1)

sphinx/pycode/nodes.py

     """
     Node superclass for both terminal and nonterminal nodes.
     """
+    parent = None
 
     def _eq(self, other):
         raise NotImplementedError