mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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
This commit is contained in:
parent
e45be28be6
commit
ad66742e34
7 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue