diff options
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r-- | Doc/ref/ref3.tex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index dfd4102..48a37f1 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -2109,6 +2109,8 @@ implement a \method{__coerce__()} method, for use by the built-in \subsection{Context Managers and Contexts\label{context-managers}} +\versionadded{2.5} + A \dfn{context manager} is an object that manages the entry to, and exit from, a \dfn{context} surrounding a block of code. Context managers are normally invoked using the \keyword{with} statement (described in |