Skip to content

Commit da25955

Browse files
committed
remove __cmp__ methods in client.dynamic (enthought#434)
(cherry picked from commit b6a4181)
1 parent 7067b20 commit da25955

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

comtypes/client/dynamic.py

-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ def __enum(self):
7373
e = self._comobj.Invoke(-4) # DISPID_NEWENUM
7474
return e.QueryInterface(comtypes.automation.IEnumVARIANT)
7575

76-
def __cmp__(self, other):
77-
if not isinstance(other, _Dispatch):
78-
return 1
79-
return cmp(self._comobj, other._comobj)
80-
8176
def __hash__(self):
8277
return hash(self._comobj)
8378

0 commit comments

Comments
 (0)