summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2017-07-16 06:31:10 +0200
committerMichele Simionato <michele.simionato@gmail.com>2017-07-16 06:31:10 +0200
commit32723832004bb9f72ecad87b52c8cbae69692690 (patch)
treee99ad0f8423842b3302bd22abda0fbb26a30d0c8 /src
parent4d14bc3851ece55b8427db07fd4c9d455c3ea4e4 (diff)
downloadpython-decorator-git-32723832004bb9f72ecad87b52c8cbae69692690.tar.gz
Diffstat (limited to 'src')
-rw-r--r--src/tests/documentation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/documentation.py b/src/tests/documentation.py
index 0f7b7f9..3e1568a 100644
--- a/src/tests/documentation.py
+++ b/src/tests/documentation.py
@@ -21,7 +21,7 @@ kicking. It is used by several frameworks (IPython, scipy, authkit,
pylons, pycuda, sugar, ...) and has been stable for a *long*
time. It is your best option if you want to preserve the signature of
decorated functions in a consistent way across Python
-releases. Version 4.0 is fully compatible with the past, except for
+releases. Version 4 is fully compatible with the past, except for
one thing: support for Python 2.4 and 2.5 has been dropped. That
decision made it possible to use a single code base both for Python
2.X and Python 3.X. This is a *huge* bonus, since I could remove over
@@ -71,7 +71,7 @@ What's New in version 4
- **Python 3.5 coroutines**
From version 4.1 it is possible to decorate coroutines, i.e. functions
- defined with the `async def` syntax, and to mantain the
+ defined with the `async def` syntax, and to maintain the
`inspect.iscoroutinefunction` check working for the decorated function.
Usefulness of decorators