We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd6b3e commit 28f27a4Copy full SHA for 28f27a4
Doc/reference/compound_stmts.rst
@@ -399,10 +399,10 @@ The execution of the :keyword:`with` statement with one "item" proceeds as follo
399
#. The context expression (the expression given in the :token:`with_item`) is
400
evaluated to obtain a context manager.
401
402
-#. The context manager's :meth:`__exit__` is loaded for later use.
403
-
404
#. The context manager's :meth:`__enter__` method is invoked.
405
+#. The context manager's :meth:`__exit__` is loaded for later use.
+
406
#. If a target was included in the :keyword:`with` statement, the return value
407
from :meth:`__enter__` is assigned to it.
408
0 commit comments