[pywin32-checkins] pywin32/com/win32com/client dynamic.py, 1.22.2.8, 1.22.2.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-08 03:45:55
|
Update of /cvsroot/pywin32/pywin32/com/win32com/client In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3985/com/win32com/client Modified Files: Tag: py3k dynamic.py Log Message: merge various changes, particularly PyTime, from trunk Index: dynamic.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/dynamic.py,v retrieving revision 1.22.2.8 retrieving revision 1.22.2.9 diff -C2 -d -r1.22.2.8 -r1.22.2.9 *** dynamic.py 12 Dec 2008 01:25:54 -0000 1.22.2.8 --- dynamic.py 8 Jan 2009 03:45:49 -0000 1.22.2.9 *************** *** 204,207 **** --- 204,211 ---- return cmp(self._oleobj_, other) + def __eq__(self, other): + other = getattr(other, "_oleobj_", other) + return self._oleobj_ == other + def __int__(self): return int(self.__call__()) |