summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index b2902a4f37..4e3b9c2d38 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -53,7 +53,7 @@ def contextfactory(func):
Typical usage:
- @contextmanager
+ @contextfactory
def some_generator(<arguments>):
<setup>
try: