summaryrefslogtreecommitdiff
path: root/pythonmod/doc/examples/example6.rst
diff options
context:
space:
mode:
Diffstat (limited to 'pythonmod/doc/examples/example6.rst')
-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 ce89aab99f40..07117cd556e7 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.")