Kaydet (Commit) 50bb7e12 authored tarafından Brett Cannon's avatar Brett Cannon

Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised

while running under -3.
üst 20050501
......@@ -146,7 +146,9 @@ class TokenError(Exception): pass
class StopTokenizing(Exception): pass
def printtoken(type, token, (srow, scol), (erow, ecol), line): # for testing
def printtoken(type, token, srow_scol, erow_ecol, line): # for testing
srow, scol = srow_scol
erow, ecol = erow_ecol
print "%d,%d-%d,%d:\t%s\t%s" % \
(srow, scol, erow, ecol, tok_name[type], repr(token))
......
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