summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-05-22 13:02:00 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-05-22 13:02:00 (GMT)
commita497b44238747b03306f67f8134c20dbf762bfa5 (patch)
tree63fd86cfcb08da20f55378547a6c1e4b1389bd4c /Doc/library/contextlib.rst
parent422654349045c3abdc4fa923aa6538fd6a4e04b6 (diff)
downloadcpython-a497b44238747b03306f67f8134c20dbf762bfa5.zip
cpython-a497b44238747b03306f67f8134c20dbf762bfa5.tar.gz
cpython-a497b44238747b03306f67f8134c20dbf762bfa5.tar.bz2
Fix the versionadded tags for a couple of my recent changes
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 8cc71b4..b1bfa18 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -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
--------------------