Skip to content

Commit

Permalink
fix client.dynamic._Dispatch.QueryInterface (enthought#442)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6b551a4)
  • Loading branch information
junkmd committed Feb 3, 2024
1 parent c69c763 commit 2a1e918
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions comtypes/client/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def __getitem__(self, index):
raise IndexError("index out of range")
return item

def QueryInterface(self, *args):
"QueryInterface is forwarded to the real com object."
return self._comobj.QueryInterface(*args)
def QueryInterface(self, interface, iid=None):
"""QueryInterface is forwarded to the real com object."""
return self._comobj.QueryInterface(interface, iid)

def _FlagAsMethod(self, *names):
"""Flag these attribute names as being methods.
Expand Down

0 comments on commit 2a1e918

Please sign in to comment.