From 1e0139753361f7fb820e63950b04203dc02e803c Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 29 Apr 2006 21:29:50 +0000 Subject: Fix docstring for contextfactory; mentioned old contextmanager name. --- Lib/contextlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): try: -- cgit v0.12