diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/documentation.py | 4 |
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 |
