'_get: get data from an object
Required argument: the object
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the data'

def _get(self, _object, asfile=None, _attributes={}):

    _code = 'core'
    _subcode = 'getd'
    _arguments = {'----': _object}
    if asfile:
        _arguments['rtyp'] = mktype(asfile)
    (_reply, _arguments, _attributes) = self.send(_code, _subcode, _arguments, _attributes)
    if ('errn' in _arguments):
        raise Error, decodeerror(_arguments)
    if ('----' in _arguments):
        return _arguments['----']
        if asfile:
            item.__class__ = asfile
        return item
