summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IOBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-08-23 01:06:15 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-08-23 01:06:15 (GMT)
commitad66742e3459addfaf7542808611c7dca254a8fd (patch)
treeaa478d06ca74ee33330fea9599ca8e268de6c776 /Lib/idlelib/IOBinding.py
parente45be28be665a04aef0d0a7444ba27fde2dd2d5f (diff)
downloadcpython-ad66742e3459addfaf7542808611c7dca254a8fd.zip
cpython-ad66742e3459addfaf7542808611c7dca254a8fd.tar.gz
cpython-ad66742e3459addfaf7542808611c7dca254a8fd.tar.bz2
Fix raise with 2to3
M idlelib/configHandler.py M idlelib/tabpage.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/IOBinding.py M idlelib/RemoteDebugger.py M idlelib/TreeWidget.py
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