summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api/api.rst2
1 files changed, 1 insertions, 1 deletions
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