Mercurial > cpython-lru_cache-weakref
view Mac/Modules/menu/menuedit.py @ 5817:48b94de85bf3 legacy-trunk
Extensive changes by AMK.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jul 1997 16:29:42 +0000 |
| parents | 354ebddd362b |
| children | ac288db5bc91 |
line wrap: on
line source
f = Function(void, 'OpenDeskAcc', (Str255, 'name', InMode), ) functions.append(f) as_resource_body = """ return ResObj_New((Handle)_self->ob_itself); """ f = ManualGenerator("as_Resource", as_resource_body) f.docstring = lambda : "Return this Menu as a Resource" methods.append(f)
