"Compound statement" docs: Fix with-statement step indexing (#100286)

Back in commit 226e6e7d43
an item was added to the list, renumbering all the rest of the
items, but the forward-reference wasn't updated to match.
This commit is contained in:
Frank Dana 2022-12-16 13:43:43 -05:00 committed by GitHub
parent 9076455d1b
commit f23236a92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -506,7 +506,7 @@ The execution of the :keyword:`with` statement with one "item" proceeds as follo
method returns without an error, then :meth:`__exit__` will always be
called. Thus, if an error occurs during the assignment to the target list,
it will be treated the same as an error occurring within the suite would
be. See step 6 below.
be. See step 7 below.
#. The suite is executed.