diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-07-02 01:33:31 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-07-02 01:33:31 (GMT) |
commit | 092b3cf67117b3857f111bdb752e847eebd9e9b6 (patch) | |
tree | a3186ca75d2ea2f9a543253c2ee75b91745f7e2b /Lib/idlelib/SearchEngine.py | |
parent | d9de794c232078c1c024aa117e16e7367dafce13 (diff) | |
download | cpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.zip cpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.tar.gz cpython-092b3cf67117b3857f111bdb752e847eebd9e9b6.tar.bz2 |
More idlelib cleanup inspired by pyflakes.
Diffstat (limited to 'Lib/idlelib/SearchEngine.py')
-rw-r--r-- | Lib/idlelib/SearchEngine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/SearchEngine.py b/Lib/idlelib/SearchEngine.py index da42bd9..099cb09 100644 --- a/Lib/idlelib/SearchEngine.py +++ b/Lib/idlelib/SearchEngine.py @@ -85,7 +85,7 @@ class SearchEngine: except re.error as what: args = what.args msg = args[0] - col = arg[1] if len(args) >= 2 else -1 + col = args[1] if len(args) >= 2 else -1 self.report_error(pat, msg, col) return None return prog |