[Python-checkins] r45809 - python/trunk/Lib/contextlib.py

brett.cannon python-checkins at python.org
Sat Apr 29 23:29:50 CEST 2006


Author: brett.cannon
Date: Sat Apr 29 23:29:50 2006
New Revision: 45809

Modified:
   python/trunk/Lib/contextlib.py
Log:
Fix docstring for contextfactory; mentioned old contextmanager name.


Modified: python/trunk/Lib/contextlib.py
==============================================================================
--- python/trunk/Lib/contextlib.py	(original)
+++ python/trunk/Lib/contextlib.py	Sat Apr 29 23:29:50 2006
@@ -53,7 +53,7 @@
 
     Typical usage:
 
-        @contextmanager
+        @contextfactory
         def some_generator(<arguments>):
             <setup>
             try:


More information about the Python-checkins mailing list