From: Guido van Rossum Date: Mon, 17 Apr 2006 23:13:00 +0000 (+0000) Subject: Fix two errors that prevented "make libinstall" from working: X-Git-Tag: v3.0a1~1445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69e8084ad683bb57a2e5a874eabc714f1d3af644;p=python Fix two errors that prevented "make libinstall" from working: - a line indented with tabs; - a function named 'as'. --- diff --git a/Lib/idlelib/WindowList.py b/Lib/idlelib/WindowList.py index d0123d88ba..2fad998da1 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 574043d4a4..5d02ea3129 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