summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2011-01-26 09:13:09 +0100
committerMichele Simionato <michele.simionato@gmail.com>2011-01-26 09:13:09 +0100
commit12f5a3c4f9db47206467af9605215ccc57ee302f (patch)
tree7a02ba713dc8f563a14544722aea7b4848e23a92
parente9a0ed07f8503f3e9d12a85ce97f0950dce742b2 (diff)
downloadmicheles-12f5a3c4f9db47206467af9605215ccc57ee302f.tar.gz
Added Python 3 to the list of supported languages for the decorator module; very minor fix to the docs
-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,