From 69e8084ad683bb57a2e5a874eabc714f1d3af644 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 17 Apr 2006 23:13:00 +0000 Subject: Fix two errors that prevented "make libinstall" from working: - a line indented with tabs; - a function named 'as'. --- Lib/idlelib/WindowList.py | 2 +- 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 -- cgit v0.12