summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2016-10-07 13:16:54 +0200
committerGitHub <noreply@github.com>2016-10-07 13:16:54 +0200
commitef5fee87dc94b044463b9f02b4ada3aa3bc837d1 (patch)
treef4ee879db917007f9cf58e3bc1a4f7a85c51086b /src
parent7105b8cf07cbdbab754d4dac7351cd7a38ae22dc (diff)
parent096f9542c5335d7b101e4c20e0d40a461e7ba63c (diff)
downloadpython-decorator-git-ef5fee87dc94b044463b9f02b4ada3aa3bc837d1.tar.gz
Merge pull request #35 from pelme/patch-1
Fix a typo in the documentation
Diffstat (limited to 'src')
-rw-r--r--src/tests/documentation.py2
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.