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

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

#countcontent
1n/a"""Suite odds and ends: Things that should be in some standard suite, but aren\xd5t
2n/aLevel 1, version 1
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 = 'Odds'
12n/a
13n/aclass odds_and_ends_Events:
14n/a
15n/a def select(self, _object=None, _attributes={}, **_arguments):
16n/a """select: Select the specified object
17n/a Required argument: the object to select
18n/a Keyword argument _attributes: AppleEvent attribute dictionary
19n/a """
20n/a _code = 'misc'
21n/a _subcode = 'slct'
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}