diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-09-14 22:40:36 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-09-14 22:40:36 (GMT) |
commit | fff252d20d634a3c86f06ef8585c3111c1d50091 (patch) | |
tree | 3c86642cf6d55e3cf9270c6eb794735e7766707d /Lib | |
parent | ad2dc3fc4427c640fbdc098922c9921e0f8894c0 (diff) | |
download | cpython-fff252d20d634a3c86f06ef8585c3111c1d50091.zip cpython-fff252d20d634a3c86f06ef8585c3111c1d50091.tar.gz cpython-fff252d20d634a3c86f06ef8585c3111c1d50091.tar.bz2 |
the names attribute of Global is not a node
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/compiler/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/ast.py b/Lib/compiler/ast.py index e5183fa..53dc410 100644 --- a/Lib/compiler/ast.py +++ b/Lib/compiler/ast.py @@ -146,7 +146,7 @@ class Global(Node): return self.names, def getChildNodes(self): - return self.names, + return () def __repr__(self): return "Global(%s)" % (repr(self.names),) |