Back to index

python3.2  3.2.2
Public Member Functions
HelpIndexingTool.Miscellaneous_Standards.Miscellaneous_Standards_Events Class Reference
Inheritance diagram for HelpIndexingTool.Miscellaneous_Standards.Miscellaneous_Standards_Events:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def revert

Detailed Description

Definition at line 13 of file Miscellaneous_Standards.py.


Member Function Documentation

def HelpIndexingTool.Miscellaneous_Standards.Miscellaneous_Standards_Events.revert (   self,
  _object,
  _attributes = {},
  _arguments 
)
revert: Revert an object to the most recently saved version
Required argument: object to revert
Keyword argument _attributes: AppleEvent attribute dictionary

Definition at line 15 of file Miscellaneous_Standards.py.

00015 
00016     def revert(self, _object, _attributes={}, **_arguments):
00017         """revert: Revert an object to the most recently saved version
00018         Required argument: object to revert
00019         Keyword argument _attributes: AppleEvent attribute dictionary
00020         """
00021         _code = 'misc'
00022         _subcode = 'rvrt'
00023 
00024         if _arguments: raise TypeError('No optional args expected')
00025         _arguments['----'] = _object
00026 
00027 
00028         _reply, _arguments, _attributes = self.send(_code, _subcode,
00029                 _arguments, _attributes)
00030         if _arguments.get('errn', 0):
00031             raise aetools.Error(aetools.decodeerror(_arguments))
00032         # XXXX Optionally decode result
00033         if _arguments.has_key('----'):
00034             return _arguments['----']
00035 
00036 
00037 #
00038 # Indices of types declared in this module
#

Here is the call graph for this function:


The documentation for this class was generated from the following file: