diff options
-rw-r--r-- | Lib/idlelib/WindowList.py | 2 | ||||
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/WindowList.py b/Lib/idlelib/WindowList.py index d0123d8..2fad998 100644 --- a/Lib/idlelib/WindowList.py +++ b/Lib/idlelib/WindowList.py @@ -45,7 +45,7 @@ class WindowList: try: callback() except: - t, v, tb = sys.exc_info() + t, v, tb = sys.exc_info() print "warning: callback failed in WindowList", t, ":", v registry = WindowList() diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py index 574043d..5d02ea3 100644 --- a/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py @@ -300,8 +300,8 @@ class AppleScript_Suite_Events: if _arguments.has_key('----'): return _arguments['----'] - def as(self, _object, _attributes={}, **_arguments): - """as: Coercion + def as_(self, _object, _attributes={}, **_arguments): + """as_: Coercion Required argument: an AE object reference Keyword argument _attributes: AppleEvent attribute dictionary Returns: anything |