diff options
Diffstat (limited to 'Lib/compiler/symbols.py')
-rw-r--r-- | Lib/compiler/symbols.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/symbols.py b/Lib/compiler/symbols.py index 6c19b5b..e22294e 100644 --- a/Lib/compiler/symbols.py +++ b/Lib/compiler/symbols.py @@ -299,7 +299,7 @@ class SymbolVisitor: def visitClass(self, node, parent): parent.add_def(node.name) - for n in node.bases: + for n in node.args: self.visit(n, parent) scope = ClassScope(node.name, self.module) if parent.nested or isinstance(parent, FunctionScope): |