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
22a5d8d8
Commit
22a5d8d8
authored
Jan 03, 2003
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debugging prints.
parent
3bd37bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
Lib/compiler/transformer.py
Lib/compiler/transformer.py
+0
-2
No files found.
Lib/compiler/transformer.py
View file @
22a5d8d8
...
...
@@ -650,14 +650,12 @@ class Transformer:
def
factor
(
self
,
nodelist
):
elt
=
nodelist
[
0
]
t
=
elt
[
0
]
print
"source"
,
nodelist
[
-
1
]
node
=
self
.
com_node
(
nodelist
[
-
1
])
# need to handle (unary op)constant here...
if
t
==
token
.
PLUS
:
node
=
UnaryAdd
(
node
)
node
.
lineno
=
elt
[
2
]
elif
t
==
token
.
MINUS
:
print
node
node
=
UnarySub
(
node
)
node
.
lineno
=
elt
[
2
]
elif
t
==
token
.
TILDE
:
...
...
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