diff options
| author | Nick Coghlan <ncoghlan@gmail.com> | 2006-05-03 13:02:47 +0000 |
|---|---|---|
| committer | Nick Coghlan <ncoghlan@gmail.com> | 2006-05-03 13:02:47 +0000 |
| commit | afd5e63e243b600e5344a34760d9e6565dafe1a9 (patch) | |
| tree | 6fdd6c7dd056fd5d4ce1e67e7d0b430b374dd270 /Doc/ref/ref7.tex | |
| parent | 1b06a1d4e30729434630e9fa37b041926a5766f3 (diff) | |
| download | cpython-git-afd5e63e243b600e5344a34760d9e6565dafe1a9.tar.gz | |
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()
Diffstat (limited to 'Doc/ref/ref7.tex')
| -rw-r--r-- | Doc/ref/ref7.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex index 4a231332e5..b213cb25e3 100644 --- a/Doc/ref/ref7.tex +++ b/Doc/ref/ref7.tex @@ -315,8 +315,8 @@ statement to generate exceptions may be found in section~\ref{raise}. \versionadded{2.5} The \keyword{with} statement is used to wrap the execution of a block -with methods defined by a context manager or \keyword{with} statement context -object (see section~\ref{context-managers}). This allows common +with methods defined by a context manager (see +section~\ref{context-managers}). This allows common \keyword{try}...\keyword{except}...\keyword{finally} usage patterns to be encapsulated for convenient reuse. |
