summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-11-15 00:06:52 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-11-15 00:06:52 (GMT)
commit180ceedc0930beb336b16cb73d6ef8ee09e40e81 (patch)
tree7542c2666ceded4fd47a641f6e7f2efa19ac4254 /Mac
parent25e61d9e0a0b779f1c48838bd09938bbf1631990 (diff)
downloadcpython-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')
-rw-r--r--Mac/Lib/Carbon/Res.py5
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 *