'close: close an object
Required argument: the object to close
Keyword argument saving: specifies whether or not changes should be saved before closing
Keyword argument saving_in: the file in which to save the object
Keyword argument _attributes: AppleEvent attribute dictionary'

def close(self, _object, _attributes={}, **_arguments):

    _code = 'core'
    _subcode = 'clos'
    aetools.keysubst(_arguments, self._argmap_close)
    _arguments['----'] = _object
    aetools.enumsubst(_arguments, 'savo', _Enum_savo)
    (_reply, _arguments, _attributes) = self.send(_code, _subcode, _arguments, _attributes)
    if _arguments.get('errn', 0):
        raise aetools.Error, aetools.decodeerror(_arguments)
    if _arguments.has_key('----'):
        return _arguments['----']
