Skip to content

Commit 06eef10

Browse files
kovanclaude
andcommitted
gh-137337: Use :keyword: cross-references for global/nonlocal
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b803521 commit 06eef10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/simple_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ steps:
762762
#. find a module, loading and initializing it if necessary
763763
#. define a name or names in the current namespace for the scope where
764764
the :keyword:`import` statement occurs, just as an assignment statement
765-
would, including global, local, and nonlocal semantics.
765+
would (including :keyword:`global` and :keyword:`nonlocal` semantics).
766766

767767
When the statement contains multiple clauses (separated by
768768
commas) the two steps are carried out separately for each clause, just

0 commit comments

Comments
 (0)