summaryrefslogtreecommitdiff
path: root/sphinx/pycode
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/pycode')
-rw-r--r--sphinx/pycode/nodes.py1
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