From: Neal Norwitz Date: Wed, 22 Mar 2006 09:34:44 +0000 (+0000) Subject: Remove another use of as as a keyword X-Git-Tag: v3.0a1~1472 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0bc30f36fbcf010420f902612b62f65c0105d09;p=python Remove another use of as as a keyword --- diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py index 861dd2fd1b..3fca7a2e11 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