mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
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.
This commit is contained in:
parent
25e61d9e0a
commit
180ceedc09
1 changed files with 4 additions and 1 deletions
|
@ -1 +1,4 @@
|
|||
from _Res import *
|
||||
try:
|
||||
from OverrideFrom23._Res import *
|
||||
except ImportError:
|
||||
from _Res import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue