diff Doc/lib/libstdtypes.tex @ 38102:e92a8b8eec73 legacy-trunk

Get rid of a couple more context object references, fix some markup and clarify what happens when a generator context function swallows an exception.
author Nick Coghlan <ncoghlan@gmail.com>
date Wed, 03 May 2006 13:17:49 +0000
parents 6bc1e83a97a6
children aae2ff33e27c
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex	Wed May 03 13:02:47 2006 +0000
+++ b/Doc/lib/libstdtypes.tex	Wed May 03 13:17:49 2006 +0000
@@ -1778,8 +1778,8 @@
 
   An example of a context manager that returns itself is a file object.
   File objects return themselves from __enter__() to allow
-  \function{open()} to be used as the context expression in a with
-  statement.
+  \function{open()} to be used as the context expression in a
+  \keyword{with} statement.
 
   An example of a context manager that returns a related
   object is the one returned by \code{decimal.Context.get_manager()}.