mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Support Python 2.2.
This commit is contained in:
parent
8f00a24229
commit
104c46bce3
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ import pythoncom, pywintypes
|
|||
from win32com.client import constants
|
||||
import re, string, os, sets, glob, popen2, sys, _winreg
|
||||
|
||||
try:
|
||||
basestring
|
||||
except NameError:
|
||||
basestring = (str, unicode)
|
||||
|
||||
Win64 = 0
|
||||
|
||||
# Partially taken from Wine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue