From 096f9542c5335d7b101e4c20e0d40a461e7ba63c Mon Sep 17 00:00:00 2001 From: Andreas Pelme Date: Fri, 7 Oct 2016 11:20:54 +0200 Subject: Fix a typo in the documentation --- src/tests/documentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/documentation.py') 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. -- cgit v1.2.1