summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/SearchEngine.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/SearchEngine.py')
-rw-r--r--Lib/idlelib/SearchEngine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/SearchEngine.py b/Lib/idlelib/SearchEngine.py
index cc40a00..6745faf 100644
--- a/Lib/idlelib/SearchEngine.py
+++ b/Lib/idlelib/SearchEngine.py
@@ -66,7 +66,7 @@ class SearchEngine:
flags = flags | re.IGNORECASE
try:
prog = re.compile(pat, flags)
- except re.error, what:
+ except re.error as what:
try:
msg, col = what
except: