diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:34:44 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:34:44 (GMT) |
commit | a0bc30f36fbcf010420f902612b62f65c0105d09 (patch) | |
tree | b31b3feb5fcd354c4a9e73556ebdc351feac9777 /Lib | |
parent | 227b5339edcdcc9ca6322a2217b75db11b69048f (diff) | |
download | cpython-a0bc30f36fbcf010420f902612b62f65c0105d09.zip cpython-a0bc30f36fbcf010420f902612b62f65c0105d09.tar.gz cpython-a0bc30f36fbcf010420f902612b62f65c0105d09.tar.bz2 |
Remove another use of as as a keyword
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/plat-mac/aetools.py | 10 |
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 |