summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decorator/documentation.py2
-rw-r--r--decorator/documentation3.py2
-rw-r--r--decorator/setup.py1
3 files changed, 5 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
diff --git a/decorator/documentation3.py b/decorator/documentation3.py
index 3df2e47..c737267 100644
--- a/decorator/documentation3.py
+++ b/decorator/documentation3.py
@@ -392,6 +392,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
diff --git a/decorator/setup.py b/decorator/setup.py
index 87f4568..8190acd 100644
--- a/decorator/setup.py
+++ b/decorator/setup.py
@@ -34,6 +34,7 @@ if __name__ == '__main__':
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'],
use_2to3=True,