diff options
author | Georg Brandl <georg@python.org> | 2006-04-30 19:34:19 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-04-30 19:34:19 (GMT) |
commit | 3c1983face14853d28f903e54228551c367c640e (patch) | |
tree | dc9f2068ada9ab88db790281109269cc4c69f57f /Doc/ref/ref3.tex | |
parent | 3583cff5a9d55b9c1bc17b5d82670e5e6b0fc10d (diff) | |
download | cpython-3c1983face14853d28f903e54228551c367c640e.zip cpython-3c1983face14853d28f903e54228551c367c640e.tar.gz cpython-3c1983face14853d28f903e54228551c367c640e.tar.bz2 |
Patch #1479438: add \keyword markup for "with".
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r-- | Doc/ref/ref3.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 7b4089d..d22448c 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -2149,9 +2149,9 @@ using a generator function decorated with the than writing individual \method{__enter__()} and \method{__exit__()} methods on a separate object when the state to be managed is complex. -With statement context objects also need to implement this method; they -are required to return themselves (that is, this method will simply -return \var{self}). +\keyword{with} statement context objects also need to implement this +method; they are required to return themselves (that is, this method +will simply return \var{self}). \end{methoddesc} \begin{methoddesc}[with statement context]{__enter__}{self} |