diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 22:07:22 (GMT) |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 22:07:22 (GMT) |
| commit | 7377bec6ae20e2a3b83f7084bc98af47e5bd3886 (patch) | |
| tree | fef9adf10767b4f12a5918345a392cda9eb67f04 /Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py | |
| parent | 03b9c91afff90cd8ac2e0b84f486d0f2ebf4e549 (diff) | |
| download | cpython-7377bec6ae20e2a3b83f7084bc98af47e5bd3886.zip cpython-7377bec6ae20e2a3b83f7084bc98af47e5bd3886.tar.gz cpython-7377bec6ae20e2a3b83f7084bc98af47e5bd3886.tar.bz2 | |
Regenerated (from resource files) with sorting version of gensuitemodule.
This is a first step towards regenerating the modules with newer, MacOSX,
versions of these programs, and using the programmatic interface to
get at the terminology in stead of poking in resource files.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py b/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py index 3abd880..0d15049 100644 --- a/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py @@ -13,15 +13,16 @@ _code = 'reqd' from StdSuites.Required_Suite import * class Required_Suite_Events(Required_Suite_Events): - def run(self, _no_object=None, _attributes={}, **_arguments): - """run: + def open(self, _object, _attributes={}, **_arguments): + """open: Open documents + Required argument: undocumented, typecode 'alis' Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'oapp' + _subcode = 'odoc' if _arguments: raise TypeError, 'No optional args expected' - if _no_object != None: raise TypeError, 'No direct arg expected' + _arguments['----'] = _object _reply, _arguments, _attributes = self.send(_code, _subcode, @@ -32,13 +33,13 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def open(self, _object, _attributes={}, **_arguments): - """open: Open documents + def print_(self, _object, _attributes={}, **_arguments): + """print: Print documents Required argument: undocumented, typecode 'alis' Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'odoc' + _subcode = 'pdoc' if _arguments: raise TypeError, 'No optional args expected' _arguments['----'] = _object @@ -52,16 +53,15 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def print_(self, _object, _attributes={}, **_arguments): - """print: Print documents - Required argument: undocumented, typecode 'alis' + def quit(self, _no_object=None, _attributes={}, **_arguments): + """quit: Quit application Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'pdoc' + _subcode = 'quit' if _arguments: raise TypeError, 'No optional args expected' - _arguments['----'] = _object + if _no_object != None: raise TypeError, 'No direct arg expected' _reply, _arguments, _attributes = self.send(_code, _subcode, @@ -72,12 +72,12 @@ class Required_Suite_Events(Required_Suite_Events): if _arguments.has_key('----'): return _arguments['----'] - def quit(self, _no_object=None, _attributes={}, **_arguments): - """quit: Quit application + def run(self, _no_object=None, _attributes={}, **_arguments): + """run: Keyword argument _attributes: AppleEvent attribute dictionary """ _code = 'aevt' - _subcode = 'quit' + _subcode = 'oapp' if _arguments: raise TypeError, 'No optional args expected' if _no_object != None: raise TypeError, 'No direct arg expected' |
