diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-14 20:59:42 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-08-14 20:59:42 (GMT) |
commit | c6dd5b1c66fc1f3f795f4f2a45ef88a83c005b16 (patch) | |
tree | ac3066ea971934a89564e4f0302958b84728a308 | |
parent | 233983380d1868126918fd86252d6328b0f0ad50 (diff) | |
download | cpython-c6dd5b1c66fc1f3f795f4f2a45ef88a83c005b16.zip cpython-c6dd5b1c66fc1f3f795f4f2a45ef88a83c005b16.tar.gz cpython-c6dd5b1c66fc1f3f795f4f2a45ef88a83c005b16.tar.bz2 |
Issue #24833: Add attribute reference needed for 3.x.
-rw-r--r-- | Lib/idlelib/ScriptBinding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index e8cb2fc..e5636df 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -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) |