mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
More idlelib cleanup inspired by pyflakes.
This commit is contained in:
parent
d9de794c23
commit
092b3cf671
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue