Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf23236a

Browse files
authored
"Compound statement" docs: Fix with-statement step indexing (#100286)
Back in commit226e6e7an item was added to the list, renumbering all the rest of theitems, but the forward-reference wasn't updated to match.
1 parent9076455 commitf23236a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ The execution of the :keyword:`with` statement with one "item" proceeds as follo
506506
method returns without an error, then:meth:`__exit__` will always be
507507
called. Thus, if an error occurs during the assignment to the target list,
508508
it will be treated the same as an error occurring within the suite would
509-
be. See step6 below.
509+
be. See step7 below.
510510

511511
#. The suite is executed.
512512

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp