commit | 52acb49298fd0aee8a2a2a352f0b2ab039649bde | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Fri Dec 21 20:04:22 2001 +0000 |
committer | Barry Warsaw <barry@python.org> | Fri Dec 21 20:04:22 2001 +0000 |
tree | 8494a3378452f85b4b71a0e02bc6c63cc21f8bec | |
parent | 87fa3aa12cbb24c89cfb13c16d04f46a2dd9a9e1 [diff] [blame] |
Merge of the release22 branch changes back into the trunk.
diff --git a/Lib/compiler/symbols.py b/Lib/compiler/symbols.py index 200341f..cd7bceb 100644 --- a/Lib/compiler/symbols.py +++ b/Lib/compiler/symbols.py
@@ -206,6 +206,8 @@ 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: