summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-04-29 21:29:50 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-04-29 21:29:50 (GMT)
commit1e0139753361f7fb820e63950b04203dc02e803c (patch)
tree8a4080dbfc6e2aafb5a33de9ad06c71155ef5c6a /Lib
parentb75d43d374ce781ba4c462b11456367ff81a6436 (diff)
downloadcpython-1e0139753361f7fb820e63950b04203dc02e803c.zip
cpython-1e0139753361f7fb820e63950b04203dc02e803c.tar.gz
cpython-1e0139753361f7fb820e63950b04203dc02e803c.tar.bz2
Fix docstring for contextfactory; mentioned old contextmanager name.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index b2902a4..4e3b9c2 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: