[Python-checkins] cpython (merge 3.4 -> 3.5): Merge with 3.4
terry.reedy
python-checkins at python.org
Fri Aug 14 23:00:36 CEST 2015
https://hg.python.org/cpython/rev/69a8b05f27b4
changeset: 97387:69a8b05f27b4
branch: 3.5
parent: 97383:d25022765186
parent: 97386:cce226356477
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Fri Aug 14 16:59:58 2015 -0400
summary:
Merge with 3.4
files:
Lib/idlelib/ScriptBinding.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -69,7 +69,7 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list