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
b2f89ee7
Commit
b2f89ee7
authored
Aug 11, 2003
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment typo fixes
parent
cc9d004f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/compiler/ast.py
Lib/compiler/ast.py
+1
-1
Lib/compiler/visitor.py
Lib/compiler/visitor.py
+1
-1
No files found.
Lib/compiler/ast.py
View file @
b2f89ee7
...
...
@@ -283,7 +283,7 @@ class Module(Node):
return
"Module(%s, %s)"
%
(
repr
(
self
.
doc
),
repr
(
self
.
node
))
class
Expression
(
Node
):
# Expression is an artifical node class to support "eval"
# Expression is an artific
i
al node class to support "eval"
nodes
[
"expression"
]
=
"Expression"
def
__init__
(
self
,
node
):
self
.
node
=
node
...
...
Lib/compiler/visitor.py
View file @
b2f89ee7
...
...
@@ -66,7 +66,7 @@ class ExampleASTVisitor(ASTVisitor):
"""Prints examples of the nodes that aren't visited
This visitor-driver is only useful for development, when it's
helpful to develop a visitor incremently, and get feedback on what
helpful to develop a visitor increment
al
ly, and get feedback on what
you still have to do.
"""
examples
=
{}
...
...
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