mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Remove debugging prints.
This commit is contained in:
parent
36cd2bf459
commit
8d0ffe0126
1 changed files with 0 additions and 2 deletions
|
@ -650,14 +650,12 @@ class Transformer:
|
||||||
def factor(self, nodelist):
|
def factor(self, nodelist):
|
||||||
elt = nodelist[0]
|
elt = nodelist[0]
|
||||||
t = elt[0]
|
t = elt[0]
|
||||||
print "source", nodelist[-1]
|
|
||||||
node = self.com_node(nodelist[-1])
|
node = self.com_node(nodelist[-1])
|
||||||
# need to handle (unary op)constant here...
|
# need to handle (unary op)constant here...
|
||||||
if t == token.PLUS:
|
if t == token.PLUS:
|
||||||
node = UnaryAdd(node)
|
node = UnaryAdd(node)
|
||||||
node.lineno = elt[2]
|
node.lineno = elt[2]
|
||||||
elif t == token.MINUS:
|
elif t == token.MINUS:
|
||||||
print node
|
|
||||||
node = UnarySub(node)
|
node = UnarySub(node)
|
||||||
node.lineno = elt[2]
|
node.lineno = elt[2]
|
||||||
elif t == token.TILDE:
|
elif t == token.TILDE:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue