Commit 4bb9f1cf authored by Guido van Rossum's avatar Guido van Rossum

Fix two errors that prevented "make libinstall" from working:

- a line indented with tabs;
- a function named 'as'.
parent 9fe49a81
......@@ -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()
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment