summaryrefslogtreecommitdiff
path: root/pythonmod/doc/examples
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:53:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:53:39 +0000
commit6cacf549d3c2d5bddb0dcadd620e1db2897c7f26 (patch)
treee187e7d708a063f1628697fe779e2bb101d451b8 /pythonmod/doc/examples
parentfbdb9ac866a647da0919b224f05cca039afc02fa (diff)
Diffstat (limited to 'pythonmod/doc/examples')
-rw-r--r--pythonmod/doc/examples/example6.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/pythonmod/doc/examples/example6.rst b/pythonmod/doc/examples/example6.rst
index ce89aab99f40f..07117cd556e77 100644
--- a/pythonmod/doc/examples/example6.rst
+++ b/pythonmod/doc/examples/example6.rst
@@ -63,7 +63,7 @@ We can register such function as:
.. code-block:: python
- if not register_inplace_cb_reply(inplace_reply_callback, env):
+ if not register_inplace_cb_reply(inplace_reply_callback, env, id):
log_info("python: Could not register inplace callback function.")
@@ -99,7 +99,7 @@ We can register such function as:
.. code-block:: python
- if not register_inplace_cb_reply_cache(inplace_cache_callback, env):
+ if not register_inplace_cb_reply_cache(inplace_cache_callback, env, id):
log_info("python: Could not register inplace callback function.")
@@ -135,7 +135,7 @@ We can register such function as:
.. code-block:: python
- if not register_inplace_cb_reply_local(inplace_local_callback, env):
+ if not register_inplace_cb_reply_local(inplace_local_callback, env, id):
log_info("python: Could not register inplace callback function.")
@@ -172,7 +172,7 @@ We can register such function as:
.. code-block:: python
- if not register_inplace_cb_reply_servfail(inplace_servfail_callback, env):
+ if not register_inplace_cb_reply_servfail(inplace_servfail_callback, env, id):
log_info("python: Could not register inplace callback function.")