Update of /cvsroot/pywin32/pywin32/com/win32com/client
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30833/com/win32com/client
Modified Files:
selecttlb.py
Log Message:
allow the list of typelibs to sort on py3k
Index: selecttlb.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/selecttlb.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** selecttlb.py 14 Nov 2008 00:22:25 -0000 1.11
--- selecttlb.py 7 Jan 2009 04:09:32 -0000 1.12
***************
*** 32,35 ****
--- 32,37 ----
rc = cmp(self.major, other.minor)
return rc
+ def __lt__(self, other): # rich-cmp/py3k-friendly version
+ return self.__cmp__(other) < 0
def Resolve(self):
|