diff --git a/Lib/tokenize.py b/Lib/tokenize.py index 0f68b4034bae..ff57b1270228 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py @@ -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))