Support Python 2.2.

This commit is contained in:
Martin v. Löwis 2004-09-07 15:37:26 +00:00
parent 8f00a24229
commit 104c46bce3
1 changed files with 5 additions and 0 deletions

View File

@ -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