summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream/handler/coroutine_callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/xmlstream/handler/coroutine_callback.py')
-rw-r--r--slixmpp/xmlstream/handler/coroutine_callback.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/slixmpp/xmlstream/handler/coroutine_callback.py b/slixmpp/xmlstream/handler/coroutine_callback.py
index d41cd7ba..524cca54 100644
--- a/slixmpp/xmlstream/handler/coroutine_callback.py
+++ b/slixmpp/xmlstream/handler/coroutine_callback.py
@@ -47,7 +47,6 @@ class CoroutineCallback(BaseHandler):
_once: bool
_instream: bool
- _pointer: CoroutineFunction
def __init__(self, name: str, matcher: MatcherBase,
pointer: CoroutineFunction, once: bool = False,
@@ -62,7 +61,7 @@ class CoroutineCallback(BaseHandler):
except Exception as e:
stanza.exception(e)
- self._pointer = pointer_wrapper
+ self._pointer: CoroutineFunction = pointer_wrapper
self._once = once
self._instream = instream