commit | d03b073e9bc531bd21d3f6da9882c54e36975b0c | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 28 05:51:02 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Mar 28 05:51:02 2006 +0000 |
tree | 5fd2b8a95f2277c53bdfb43340b75e55f2e5b711 | |
parent | 168e99f6db1a207477fa02609663b66475bfd460 [diff] [blame] |
Add version added info for with statement and context managers
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex index a5a6eaf..ecbc756 100644 --- a/Doc/ref/ref7.tex +++ b/Doc/ref/ref7.tex
@@ -312,6 +312,8 @@ \section{The \keyword{with} statement\label{with}} \stindex{with} +\versionadded{2.5} + The \keyword{with} statement is used to wrap the execution of a block with methods defined by a context manager (see section~\ref{context-managers}). This allows common