summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorFrank Dana <ferdnyc@gmail.com>2022-12-16 18:43:43 (GMT)
committerGitHub <noreply@github.com>2022-12-16 18:43:43 (GMT)
commitf23236a92d8796ae91772adaf27c3485fda963e8 (patch)
tree17d1dbab6519179306fda135ecbef5e14846aba3 /Doc/reference
parent9076455d1b8132928470c11df874ca7c8580b012 (diff)
downloadcpython-f23236a92d8796ae91772adaf27c3485fda963e8.zip
cpython-f23236a92d8796ae91772adaf27c3485fda963e8.tar.gz
cpython-f23236a92d8796ae91772adaf27c3485fda963e8.tar.bz2
"Compound statement" docs: Fix with-statement step indexing (#100286)
Back in commit 226e6e7d4326cf91ef37e13528eb1f62de1bb832 an item was added to the list, renumbering all the rest of the items, but the forward-reference wasn't updated to match.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 9e09515..fe9dda9 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -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.