diff options
| author | Georg Brandl <georg@python.org> | 2009-07-02 19:41:25 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-07-02 19:41:25 +0200 |
| commit | f2b4f9a43a44aaab29aa19618b1ea2a748465ecc (patch) | |
| tree | 51faa35c402e9ffb4ed28d92abb4add349bdde9b /sphinx/pycode/__init__.py | |
| parent | 728e1904ec24784534f46fdaf652f0f539e39bad (diff) | |
| download | sphinx-git-f2b4f9a43a44aaab29aa19618b1ea2a748465ecc.tar.gz | |
Remove parsetree after collecting attributes.
Diffstat (limited to 'sphinx/pycode/__init__.py')
| -rw-r--r-- | sphinx/pycode/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py index de1c3dbe1..1187b6a43 100644 --- a/sphinx/pycode/__init__.py +++ b/sphinx/pycode/__init__.py @@ -234,6 +234,7 @@ class ModuleAnalyzer(object): attr_visitor = AttrDocVisitor(number2name, scope, self.encoding) attr_visitor.visit(self.parsetree) self.attr_docs = attr_visitor.collected + self.parsetree = None return attr_visitor.collected def find_tags(self): |
