s4/messaging/py: Fix typo
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 23 May 2023 02:30:22 +0000 (14:30 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 May 2023 00:50:31 +0000 (00:50 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/messaging/pymessaging.c

index 018aefdbfa041fbbfa4b2be4ea38ee19f6dfab9b..31755ea591a3e770c3d83225c19296deb515cb74 100644 (file)
@@ -483,7 +483,7 @@ static PyMethodDef py_imessaging_methods[] = {
                METH_VARARGS|METH_KEYWORDS,
                "S.deregister((callback, context), msg_type) -> None\nDeregister a message handler "
                "The callback and context must be supplied as the exact same two-element tuple "
-               "as was used as registration time." },
+               "as was used at registration time." },
        { "loop_once", PY_DISCARD_FUNC_SIG(PyCFunction,
                                           py_imessaging_loop_once),
                METH_VARARGS|METH_KEYWORDS,