summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:34:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-22 09:34:44 (GMT)
commita0bc30f36fbcf010420f902612b62f65c0105d09 (patch)
treeb31b3feb5fcd354c4a9e73556ebdc351feac9777 /Lib/plat-mac
parent227b5339edcdcc9ca6322a2217b75db11b69048f (diff)
downloadcpython-a0bc30f36fbcf010420f902612b62f65c0105d09.zip
cpython-a0bc30f36fbcf010420f902612b62f65c0105d09.tar.gz
cpython-a0bc30f36fbcf010420f902612b62f65c0105d09.tar.bz2
Remove another use of as as a keyword
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r--Lib/plat-mac/aetools.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py
index 861dd2f..3fca7a2 100644
--- a/Lib/plat-mac/aetools.py
+++ b/Lib/plat-mac/aetools.py
@@ -233,7 +233,7 @@ class TalkTo:
"""Send 'activate' command"""
self.send('misc', 'actv')
- def _get(self, _object, as=None, _attributes={}):
+ def _get(self, _object, asfile=None, _attributes={}):
"""_get: get data from an object
Required argument: the object
Keyword argument _attributes: AppleEvent attribute dictionary
@@ -243,8 +243,8 @@ class TalkTo:
_subcode = 'getd'
_arguments = {'----':_object}
- if as:
- _arguments['rtyp'] = mktype(as)
+ if asfile:
+ _arguments['rtyp'] = mktype(asfile)
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
@@ -253,8 +253,8 @@ class TalkTo:
if _arguments.has_key('----'):
return _arguments['----']
- if as:
- item.__class__ = as
+ if asfile:
+ item.__class__ = asfile
return item
get = _get