summaryrefslogtreecommitdiff
path: root/decorator/documentation.py
diff options
context:
space:
mode:
Diffstat (limited to 'decorator/documentation.py')
-rw-r--r--decorator/documentation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/decorator/documentation.py b/decorator/documentation.py
index fc54608..80a3161 100644
--- a/decorator/documentation.py
+++ b/decorator/documentation.py
@@ -353,6 +353,8 @@ three callbacks ``on_success``, ``on_failure`` and ``on_closing``,
to specify how to manage the function call.
The implementation is the following:
+.. code-block:: python
+
$$on_success
$$on_failure
$$on_closing