parameters: (self, _object, _attributes={}, **_arguments)
docstring: sleep: Put the computer to sleep
          Required argument: the object for the command
          Keyword argument _attributes: AppleEvent attribute dictionary
docstring_summary: sleep: Put the computer to sleep
          Required argument: the object for the command
          Keyword argument _attributes: AppleEvent attribute dictionary
docstring_tokens: sleep : Put the computer to sleep Required argument : the object for the command Keyword argument _attributes : AppleEvent attribute dictionary
function: def sleep(self, _object, _attributes={}, **_arguments):
          """sleep: Put the computer to sleep
          Required argument: the object for the command
          Keyword argument _attributes: AppleEvent attribute dictionary
          """
          _code = 'fndr'
          _subcode = 'slep'
  
          if _arguments: raise TypeError, 'No optional args expected'
          _arguments['----'] = _object
  
  
          _reply, _arguments, _attributes = self.send(_code, _subcode,
                  _arguments, _attributes)
          if _arguments.get('errn', 0):
              raise aetools.Error, aetools.decodeerror(_arguments)
          # XXXX Optionally decode result
          if _arguments.has_key('----'):
              return _arguments['----']
function_tokens: def sleep ( self , _object , _attributes = { } , * * _arguments ) : _code = 'fndr' _subcode = 'slep' if _arguments : raise TypeError , 'No optional args expected' _arguments [ '----' ] = _object _reply , _arguments , _attributes = self . send ( _code , _subcode , _arguments , _attributes ) if _arguments . get ( 'errn' , 0 ) : raise aetools . Error , aetools . decodeerror ( _arguments ) # XXXX Optionally decode result if _arguments . has_key ( '----' ) : return _arguments [ '----' ]