mirror of
https://github.com/python/cpython.git
synced 2025-10-28 04:04:44 +00:00
Import the MacOS toolbox modules from the Carbon package.
This commit is contained in:
parent
6dba6bc0a2
commit
5a6fdcd371
100 changed files with 336 additions and 331 deletions
|
|
@ -17,8 +17,8 @@
|
|||
import types
|
||||
from string import strip
|
||||
from types import *
|
||||
import AE
|
||||
from AppleEvents import *
|
||||
from Carbon import AE
|
||||
from Carbon.AppleEvents import *
|
||||
import MacOS
|
||||
import macfs
|
||||
import StringIO
|
||||
|
|
@ -195,7 +195,7 @@ def unpack(desc):
|
|||
v = 0x100000000L + v
|
||||
return v
|
||||
if t == typeObjectSpecifier:
|
||||
import Res
|
||||
from Carbon import Res
|
||||
# print desc, type(desc)
|
||||
# print desc.__members__
|
||||
# print desc.data, desc.type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue