diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2016-10-07 13:16:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-07 13:16:54 +0200 |
| commit | ef5fee87dc94b044463b9f02b4ada3aa3bc837d1 (patch) | |
| tree | f4ee879db917007f9cf58e3bc1a4f7a85c51086b /src/tests | |
| parent | 7105b8cf07cbdbab754d4dac7351cd7a38ae22dc (diff) | |
| parent | 096f9542c5335d7b101e4c20e0d40a461e7ba63c (diff) | |
| download | python-decorator-git-ef5fee87dc94b044463b9f02b4ada3aa3bc837d1.tar.gz | |
Merge pull request #35 from pelme/patch-1
Fix a typo in the documentation
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/documentation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/documentation.py b/src/tests/documentation.py index ffc1bf5..2eb6aaa 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -476,7 +476,7 @@ a ``__call__`` method, so that they can be used as decorators, like so: The ``ba`` decorator basically inserts a ``with ba:`` block inside the function. -However, there two issues: +However, there are two issues: 1. ``GeneratorContextManager`` objects are only callable in Python 3.2, so the previous example breaks in older versions of Python. |
