summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IOBinding.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/IOBinding.py')
-rw-r--r--Lib/idlelib/IOBinding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py
index 1be1a21..dd51062 100644
--- a/Lib/idlelib/IOBinding.py
+++ b/Lib/idlelib/IOBinding.py
@@ -132,7 +132,7 @@ def coding_spec(str):
codecs.lookup(name)
except LookupError:
# The standard encoding error does not indicate the encoding
- raise LookupError, "Unknown encoding "+name
+ raise LookupError("Unknown encoding "+name)
return name