From 0726b7934570cf2a2be61f5e39addf8b7d3ddcc5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 27 Feb 2021 21:02:55 +0100 Subject: docs: fix a typo (dedfault) --- docs/api/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/api.rst b/docs/api/api.rst index 55642ef6..0bf8d16d 100644 --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -50,7 +50,7 @@ The ``self.api.register()`` signature is as follows: .. code-block:: python - def register(handler, op, jid=None, node=None, dedfault=False): + def register(handler, op, jid=None, node=None, default=False): pass As you can see, :meth:`~.APIRegistry.register` takes an additional ctype -- cgit v1.2.3