summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-04-17 23:13:00 (GMT)
committerGuido van Rossum <guido@python.org>2006-04-17 23:13:00 (GMT)
commit69e8084ad683bb57a2e5a874eabc714f1d3af644 (patch)
tree7514a75376c0fd147a7c26af634500882ae6bb49
parent07519f8712241397bcb98efa19e2e7ec9257c18c (diff)
downloadcpython-69e8084ad683bb57a2e5a874eabc714f1d3af644.zip
cpython-69e8084ad683bb57a2e5a874eabc714f1d3af644.tar.gz
cpython-69e8084ad683bb57a2e5a874eabc714f1d3af644.tar.bz2
Fix two errors that prevented "make libinstall" from working:
- a line indented with tabs; - a function named 'as'.
-rw-r--r--Lib/idlelib/WindowList.py2
-rw-r--r--Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py4
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