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
commit258acc07e0faf2691db298f4456aceef9b0c884d (patch)
tree25945e249b9ada8da8fb9fc6d729dcce0cb91a11
parent8ad682164653a2653db6e0df831b71261d174367 (diff)
downloadpython-decorator-git-258acc07e0faf2691db298f4456aceef9b0c884d.tar.gz
Added Python 3 to the list of supported languages for the decorator module; very minor fix to the docs
-rw-r--r--documentation.py2
-rw-r--r--documentation3.py2
-rw-r--r--setup.py1
3 files changed, 5 insertions, 0 deletions
diff --git a/documentation.py b/documentation.py
index fc54608..80a3161 100644
--- a/documentation.py
+++ b/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/documentation3.py b/documentation3.py
index 3df2e47..c737267 100644
--- a/documentation3.py
+++ b/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/setup.py b/setup.py
index 87f4568..8190acd 100644
--- a/setup.py
+++ b/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,