#9760: clarify what context expression is.

This commit is contained in:
Georg Brandl 2010-09-03 22:40:02 +00:00
parent 0bb73b8be8
commit 3387f4887f
1 changed files with 2 additions and 1 deletions

View File

@ -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.