mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -206,7 +206,7 @@ class FrameProxy:
|
|||
|
||||
def __getattr__(self, name):
|
||||
if name[:1] == "_":
|
||||
raise AttributeError, name
|
||||
raise AttributeError(name)
|
||||
if name == "f_code":
|
||||
return self._get_f_code()
|
||||
if name == "f_globals":
|
||||
|
@ -270,7 +270,7 @@ class DictProxy:
|
|||
|
||||
def __getattr__(self, name):
|
||||
##print >>sys.__stderr__, "failed DictProxy.__getattr__:", name
|
||||
raise AttributeError, name
|
||||
raise AttributeError(name)
|
||||
|
||||
|
||||
class GUIAdapter:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue