Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a497b44

Browse files
committed
Fix the versionadded tags for a couple of my recent changes
1 parent 4226543 commit a497b44

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Doc/library/contextlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ Functions and classes provided:
207207
foundation for higher level context managers that manipulate the exit
208208
stack in application specific ways.
209209

210+
.. versionadded:: 3.3
211+
210212
.. method:: enter_context(cm)
211213

212214
Enters a new context manager and adds its :meth:`__exit__` method to
@@ -270,8 +272,6 @@ Functions and classes provided:
270272
callbacks registered, the arguments passed in will indicate that no
271273
exception occurred.
272274

273-
.. versionadded:: 3.3
274-
275275

276276
Examples and Recipes
277277
--------------------

Doc/library/types.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Dynamic Type Creation
3030
The *exec_body* callback should accept the class namespace as its sole
3131
argument and update the namespace directly with the class contents.
3232

33+
.. versionadded:: 3.3
34+
3335
.. function:: prepare_class(name, bases=(), kwds=None)
3436

3537
Calculates the appropriate metaclass and creates the class namespace.
@@ -46,6 +48,7 @@ Dynamic Type Creation
4648
``'metaclass'`` entry removed. If no *kwds* argument is passed in, this
4749
will be an empty dict.
4850

51+
.. versionadded:: 3.3
4952

5053
.. seealso::
5154

0 commit comments

Comments
 (0)