mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
This commit is contained in:
parent
c262a1f51c
commit
60087fb450
136 changed files with 207 additions and 0 deletions
28
Lib/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py
Normal file
28
Lib/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
Manually generated suite used as base class for StdSuites Required and Standard
|
||||
suites. This is needed because the events and enums in this suite belong
|
||||
in the Required suite according to the Apple docs, but they often seem to be
|
||||
in the Standard suite.
|
||||
"""
|
||||
import aetools
|
||||
import builtin_Suite
|
||||
|
||||
|
||||
_code_to_module = {
|
||||
'reqd' : builtin_Suite,
|
||||
'core' : builtin_Suite,
|
||||
}
|
||||
|
||||
|
||||
|
||||
_code_to_fullname = {
|
||||
'reqd' : ('_builtinSuites.builtin_Suite', 'builtin_Suite'),
|
||||
'core' : ('_builtinSuites.builtin_Suite', 'builtin_Suite'),
|
||||
}
|
||||
|
||||
from builtin_Suite import *
|
||||
|
||||
class _builtinSuites(builtin_Suite_Events,
|
||||
aetools.TalkTo):
|
||||
_signature = 'ascr'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue