Skip to content

Commit

Permalink
remove __cmp__ methods in client.dynamic (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd authored Dec 31, 2022
1 parent 32d6621 commit b6a4181
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions comtypes/client/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ def __enum(self):
e = self._comobj.Invoke(-4) # DISPID_NEWENUM
return e.QueryInterface(comtypes.automation.IEnumVARIANT)

def __cmp__(self, other):
if not isinstance(other, _Dispatch):
return 1
return cmp(self._comobj, other._comobj)

def __hash__(self):
return hash(self._comobj)

Expand Down

0 comments on commit b6a4181

Please sign in to comment.