]> granicus.if.org Git - python/commitdiff
Fix the versionadded tags for a couple of my recent changes
authorNick Coghlan <ncoghlan@gmail.com>
Tue, 22 May 2012 13:02:00 +0000 (23:02 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Tue, 22 May 2012 13:02:00 +0000 (23:02 +1000)
Doc/library/contextlib.rst
Doc/library/types.rst

index 8cc71b4f399d7cc9e63d5da030b06942c5c67210..b1bfa180c02118bdf0a8a7740cefd6ab87bbb1ea 100644 (file)
@@ -207,6 +207,8 @@ Functions and classes provided:
    foundation for higher level context managers that manipulate the exit
    stack in application specific ways.
 
+   .. versionadded:: 3.3
+
    .. method:: enter_context(cm)
 
       Enters a new context manager and adds its :meth:`__exit__` method to
@@ -270,8 +272,6 @@ Functions and classes provided:
       callbacks registered, the arguments passed in will indicate that no
       exception occurred.
 
-   .. versionadded:: 3.3
-
 
 Examples and Recipes
 --------------------
index bd728d04f8bd06106f41c2d00739854f47d02338..161d854f2f1da08dcfda4d93a8c4d13420c9cf51 100644 (file)
@@ -30,6 +30,8 @@ Dynamic Type Creation
    The *exec_body* callback should accept the class namespace as its sole
    argument and update the namespace directly with the class contents.
 
+   .. versionadded:: 3.3
+
 .. function:: prepare_class(name, bases=(), kwds=None)
 
    Calculates the appropriate metaclass and creates the class namespace.
@@ -46,6 +48,7 @@ Dynamic Type Creation
    ``'metaclass'`` entry removed. If no *kwds* argument is passed in, this
    will be an empty dict.
 
+   .. versionadded:: 3.3
 
 .. seealso::