[Python-checkins] r84482 - python/branches/py3k/Doc/reference/compound_stmts.rst
georg.brandl
python-checkins at python.org
Sat Sep 4 00:40:02 CEST 2010
Author: georg.brandl
Date: Sat Sep 4 00:40:02 2010
New Revision: 84482
Log:
#9760: clarify what context expression is.
Modified:
python/branches/py3k/Doc/reference/compound_stmts.rst
Modified: python/branches/py3k/Doc/reference/compound_stmts.rst
==============================================================================
--- python/branches/py3k/Doc/reference/compound_stmts.rst (original)
+++ python/branches/py3k/Doc/reference/compound_stmts.rst Sat Sep 4 00:40:02 2010
@@ -350,7 +350,8 @@
The execution of the :keyword:`with` statement with one "item" proceeds as follows:
-#. The context expression is evaluated to obtain a context manager.
+#. The context expression (the expression given in the :token:`with_item`) is
+ evaluated to obtain a context manager.
#. The context manager's :meth:`__exit__` is loaded for later use.
More information about the Python-checkins
mailing list