More idlelib cleanup inspired by pyflakes.

This commit is contained in:
Terry Jan Reedy 2014-07-01 21:33:31 -04:00
parent d9de794c23
commit 092b3cf671
3 changed files with 5 additions and 5 deletions

View file

@ -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