[pywin32-checkins] pywin32/com/win32com/client selecttlb.py, 1.11, 1.12
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-07 04:09:39
|
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): |