Remove parsetree after collecting attributes.

This commit is contained in:
Georg Brandl 2009-07-02 19:41:25 +02:00
parent 728e1904ec
commit f2b4f9a43a

View File

@ -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):