summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libvirtaio.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvirtaio.py b/libvirtaio.py
index efee0ee..a2abf0c 100644
--- a/libvirtaio.py
+++ b/libvirtaio.py
@@ -66,7 +66,8 @@ class Callback(object):
_iden_counter = itertools.count()
- def __init__(self, impl: "virEventAsyncIOImpl", cb: Callable[[int, _T], None], opaque: _T, ) -> None:
+ def __init__(self, impl: "virEventAsyncIOImpl", cb: Callable[[int, _T], None], opaque: _T, *args: Any, **kwargs: Any) -> None:
+ super().__init__(*args, **kwargs) # type: ignore
self.iden = next(self._iden_counter)
self.impl = impl
self.cb = cb