summaryrefslogtreecommitdiff
path: root/src/tests/documentation.py
diff options
context:
space:
mode:
authorAndreas Pelme <andreas@pelme.se>2016-10-07 11:20:54 +0200
committerGitHub <noreply@github.com>2016-10-07 11:20:54 +0200
commit096f9542c5335d7b101e4c20e0d40a461e7ba63c (patch)
treef4ee879db917007f9cf58e3bc1a4f7a85c51086b /src/tests/documentation.py
parent7105b8cf07cbdbab754d4dac7351cd7a38ae22dc (diff)
downloadpython-decorator-git-096f9542c5335d7b101e4c20e0d40a461e7ba63c.tar.gz
Fix a typo in the documentation
Diffstat (limited to 'src/tests/documentation.py')
-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.