ยปCore Development>Code coverage>Mac/Tools/Doc/HelpIndexingTool/Miscellaneous_Standards.py

Python code coverage for Mac/Tools/Doc/HelpIndexingTool/Miscellaneous_Standards.py

#countcontent
1n/a"""Suite Miscellaneous Standards: Useful events that aren\xd5t in any other suite
2n/aLevel 0, version 0
3n/a
4n/aGenerated from /Developer/Applications/Apple Help Indexing Tool.app
5n/aAETE/AEUT resource version 1/1, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'misc'
12n/a
13n/aclass Miscellaneous_Standards_Events:
14n/a
15n/a def revert(self, _object, _attributes={}, **_arguments):
16n/a """revert: Revert an object to the most recently saved version
17n/a Required argument: object to revert
18n/a Keyword argument _attributes: AppleEvent attribute dictionary
19n/a """
20n/a _code = 'misc'
21n/a _subcode = 'rvrt'
22n/a
23n/a if _arguments: raise TypeError('No optional args expected')
24n/a _arguments['----'] = _object
25n/a
26n/a
27n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
28n/a _arguments, _attributes)
29n/a if _arguments.get('errn', 0):
30n/a raise aetools.Error(aetools.decodeerror(_arguments))
31n/a # XXXX Optionally decode result
32n/a if _arguments.has_key('----'):
33n/a return _arguments['----']
34n/a
35n/a
36n/a#
37n/a# Indices of types declared in this module
38n/a#
39n/a_classdeclarations = {
40n/a}
41n/a
42n/a_propdeclarations = {
43n/a}
44n/a
45n/a_compdeclarations = {
46n/a}
47n/a
48n/a_enumdeclarations = {
49n/a}