Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fff252d2
Commit
fff252d2
authored
Sep 14, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
the names attribute of Global is not a node
parent
ad2dc3fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Lib/compiler/ast.py
Lib/compiler/ast.py
+1
-1
Tools/compiler/ast.txt
Tools/compiler/ast.txt
+1
-1
Tools/compiler/compiler/ast.py
Tools/compiler/compiler/ast.py
+1
-1
Tools/compiler/compiler/ast.txt
Tools/compiler/compiler/ast.txt
+1
-1
No files found.
Lib/compiler/ast.py
View file @
fff252d2
...
...
@@ -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
),)
...
...
Tools/compiler/ast.txt
View file @
fff252d2
...
...
@@ -43,7 +43,7 @@ Dict: items!
Not: expr
Compare: expr, ops!
Name: name*
Global: names
Global: names
*
Backquote: expr
Getattr: expr, attrname*
CallFunc: node, args!, star_args& = None, dstar_args& = None
...
...
Tools/compiler/compiler/ast.py
View file @
fff252d2
...
...
@@ -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
),)
...
...
Tools/compiler/compiler/ast.txt
View file @
fff252d2
...
...
@@ -43,7 +43,7 @@ Dict: items!
Not: expr
Compare: expr, ops!
Name: name*
Global: names
Global: names
*
Backquote: expr
Getattr: expr, attrname*
CallFunc: node, args!, star_args& = None, dstar_args& = None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment