diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:06:52 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:06:52 (GMT) |
commit | 180ceedc0930beb336b16cb73d6ef8ee09e40e81 (patch) | |
tree | 7542c2666ceded4fd47a641f6e7f2efa19ac4254 /Mac/Lib | |
parent | 25e61d9e0a0b779f1c48838bd09938bbf1631990 (diff) | |
download | cpython-180ceedc0930beb336b16cb73d6ef8ee09e40e81.zip cpython-180ceedc0930beb336b16cb73d6ef8ee09e40e81.tar.gz cpython-180ceedc0930beb336b16cb73d6ef8ee09e40e81.tar.bz2 |
Python 2.2 as installed by Apple has a version of _Res that is too old. We
attempt to load an override version in this case.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/Carbon/Res.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Lib/Carbon/Res.py b/Mac/Lib/Carbon/Res.py index 174c040..8465ab8 100644 --- a/Mac/Lib/Carbon/Res.py +++ b/Mac/Lib/Carbon/Res.py @@ -1 +1,4 @@ -from _Res import * +try: + from OverrideFrom23._Res import * +except ImportError: + from _Res import * |