summaryrefslogtreecommitdiff
path: root/documentation3.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-03-16 12:19:26 +0100
committerMichele Simionato <michele.simionato@gmail.com>2015-03-16 12:19:26 +0100
commitd7d4bac90419a049165da9f29e2b8fef18fa7f33 (patch)
tree1470060cdcf08596ffae6223c50871d0e8e95abe /documentation3.py
parent5d0a05302b850386b2b71ff281c58db333ac7e78 (diff)
downloadpython-decorator-git-d7d4bac90419a049165da9f29e2b8fef18fa7f33.tar.gz
Rebuilt the docs
Diffstat (limited to 'documentation3.py')
-rw-r--r--documentation3.py19
1 files changed, 9 insertions, 10 deletions
diff --git a/documentation3.py b/documentation3.py
index 0fc2c0c..c7be177 100644
--- a/documentation3.py
+++ b/documentation3.py
@@ -609,7 +609,8 @@ undecorated function:
@tail_recursive
def factorial(n, acc=1):
"The good old factorial"
- if n == 0: return acc
+ if n == 0:
+ return acc
return factorial(n-1, n*acc)
<BLANKLINE>
@@ -794,15 +795,13 @@ a *copy* of the original function dictionary
Compatibility notes
---------------------------------------------------------------
-Version 3.4 fixes some bugs in the support of recent versions of Python 3.
-Version 3.3 was the first version of the ``decorator`` module to fully
-support Python 3, including `function annotations`_. Version 3.2 was the
-first version to support Python 3 via the ``2to3`` conversion tool
-invoked in the build process by the distribute_ project, the Python
-3-compatible replacement of easy_install. The hard work (for me) has
-been converting the documentation and the doctests. This has been
-possible only after that docutils_ and pygments_ have been ported to
-Python 3.
+Version 3.4 fixes some bugs in the support of recent versions of
+Python 3. Version 3.3 was the first version of the ``decorator``
+module to fully support Python 3, including `function
+annotations`_. Version 3.2 was the first version to support Python 3
+via the ``2to3`` conversion tool. The hard work (for me) has been
+converting the documentation and the doctests. This has been possible
+only after that docutils_ and pygments_ have been ported to Python 3.
Version 3 of the ``decorator`` module do not contain any backward
incompatible change, apart from the removal of the functions