From: Georg Brandl Date: Fri, 3 Sep 2010 22:40:02 +0000 (+0000) Subject: #9760: clarify what context expression is. X-Git-Tag: v3.2a2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3387f4887fee9968ef9c709f9d8befdeb4e1e56c;p=python #9760: clarify what context expression is. --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index ecd483d25a..4e6086fe06 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -350,7 +350,8 @@ usage patterns to be encapsulated for convenient reuse. 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.