Merge with 3.4

This commit is contained in:
Terry Jan Reedy 2015-08-14 16:59:58 -04:00
commit a0bcfaff9a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ScriptBinding:
try:
tabnanny.process_tokens(tokenize.generate_tokens(f.readline))
except tokenize.TokenError as msg:
msgtxt, (lineno, start) = msg
msgtxt, (lineno, start) = msg.args
self.editwin.gotoline(lineno)
self.errorbox("Tabnanny Tokenizing Error",
"Token Error: %s" % msgtxt)