Commit 3387f488 authored by Georg Brandl's avatar Georg Brandl

#9760: clarify what context expression is.

parent 0bb73b8b
...@@ -350,7 +350,8 @@ usage patterns to be encapsulated for convenient reuse. ...@@ -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 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. #. The context manager's :meth:`__exit__` is loaded for later use.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment