From 3387f4887fee9968ef9c709f9d8befdeb4e1e56c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 3 Sep 2010 22:40:02 +0000 Subject: [PATCH] #9760: clarify what context expression is. --- Doc/reference/compound_stmts.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index ecd483d25a5..4e6086fe060 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.