diff options
author | Georg Brandl <georg@python.org> | 2009-03-03 08:55:34 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-03 08:55:34 +0100 |
commit | 4fdcb75be0417e2c9085a69454ff02af0784114e (patch) | |
tree | 8758c1262dc96f2253ea8807ac4b00d651288681 /sphinx/pycode | |
parent | ebf6bdb560333a71df29222af86929adb855be00 (diff) | |
download | sphinx-4fdcb75be0417e2c9085a69454ff02af0784114e.tar.gz |
Add default parent attribute to Node classes.
Diffstat (limited to 'sphinx/pycode')
-rw-r--r-- | sphinx/pycode/nodes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/pycode/nodes.py b/sphinx/pycode/nodes.py index efdf8f06..f8f57740 100644 --- a/sphinx/pycode/nodes.py +++ b/sphinx/pycode/nodes.py @@ -14,6 +14,7 @@ class BaseNode(object): """ Node superclass for both terminal and nonterminal nodes. """ + parent = None def _eq(self, other): raise NotImplementedError |