Kaydet (Commit) 8d0ffe01 authored tarafından Michael W. Hudson's avatar Michael W. Hudson

Remove debugging prints.

üst 36cd2bf4
...@@ -650,14 +650,12 @@ class Transformer: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment