Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/EditPythonPrefs.py @ 19488:42b2f1936254 legacy-trunk
Import the MacOS toolbox modules from the Carbon package.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 25 Aug 2001 12:15:04 +0000 |
| parents | 05a913ff97a6 |
| children | 546ef318ba5d |
line wrap: on
line diff
--- a/Mac/scripts/EditPythonPrefs.py Sat Aug 25 11:53:43 2001 +0000 +++ b/Mac/scripts/EditPythonPrefs.py Sat Aug 25 12:15:04 2001 +0000 @@ -3,21 +3,21 @@ # This program is getting more and more clunky. It should really # be rewritten in a modeless way some time soon. -from Dlg import * -from Events import * -from Res import * -import Controls +from Carbon.Dlg import * +from Carbon.Events import * +from Carbon.Res import * +from Carbon import Controls import string import struct import macfs import MacOS import os import sys -import Res # For Res.Error +from Carbon import Res # For Res.Error import pythonprefs import EasyDialogs try: - import Help + from Carbon import Help except ImportError: Help = None
