summaryrefslogtreecommitdiffstats
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-10-20 03:22:21 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-10-20 03:22:21 (GMT)
commit0acceb769770fad191e8be4944ac4ecc0458d079 (patch)
tree08c99d2e6f827ffd96d519352f4a4e1a36753f25 /Doc/library/contextlib.rst
parent4dae27a08db938667895349508c94ae91a190e50 (diff)
downloadcpython-0acceb769770fad191e8be4944ac4ecc0458d079.zip
cpython-0acceb769770fad191e8be4944ac4ecc0458d079.tar.gz
cpython-0acceb769770fad191e8be4944ac4ecc0458d079.tar.bz2
What's New updates prior to alpha
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 4908acf..4bb54c5 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -597,9 +597,10 @@ an explicit ``with`` statement.
The specification, background, and examples for the Python :keyword:`with`
statement.
+.. _single-use-reusable-and-reentrant-cms:
-Reusable and reentrant context managers
----------------------------------------
+Single use, reusable and reentrant context managers
+---------------------------------------------------
Most context managers are written in a way that means they can only be
used effectively in a :keyword:`with` statement once. These single use