Merge of the release22 branch changes back into the trunk.

This commit is contained in:
Barry Warsaw 2001-12-21 20:04:22 +00:00
parent 87fa3aa12c
commit 52acb49298
7 changed files with 80 additions and 7 deletions

View file

@ -206,6 +206,8 @@ class SymbolVisitor:
scope = self.module = self.scopes[node] = ModuleScope()
self.visit(node.node, scope)
visitExpression = visitModule
def visitFunction(self, node, parent):
parent.add_def(node.name)
for n in node.defaults: