Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 180ceed

Browse files
committed
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.
1 parent 25e61d9 commit 180ceed

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Mac/Lib/Carbon/Res.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
from _Res import *
1+
try:
2+
from OverrideFrom23._Res import *
3+
except ImportError:
4+
from _Res import *

0 commit comments

Comments
 (0)