From: Jack Jansen Date: Fri, 15 Nov 2002 00:06:52 +0000 (+0000) Subject: Python 2.2 as installed by Apple has a version of _Res that is too old. We X-Git-Tag: v2.3c1~3409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=180ceedc0930beb336b16cb73d6ef8ee09e40e81;p=python 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. --- diff --git a/Mac/Lib/Carbon/Res.py b/Mac/Lib/Carbon/Res.py index 174c040b78..8465ab8856 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 *