Skip to content

Commit 9a1b9d5

Browse files
[3.13] gh-125072: Add label for assignment expressions; update tracked section for assignment expression topic (GH-125074) (#125077)
(cherry picked from commit 447a151)
1 parent 84efcec commit 9a1b9d5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/reference/expressions.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,8 @@ returns a boolean value regardless of the type of its argument
18091809
single: named expression
18101810
pair: assignment; expression
18111811

1812+
.. _assignment-expressions:
1813+
18121814
Assignment expressions
18131815
======================
18141816

Doc/tools/extensions/pyspecific.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ def run(self):
334334
# Support for building "topic help" for pydoc
335335

336336
pydoc_topic_labels = [
337-
'assert', 'assignment', 'async', 'atom-identifiers', 'atom-literals',
338-
'attribute-access', 'attribute-references', 'augassign', 'await',
337+
'assert', 'assignment', 'assignment-expressions', 'async', 'atom-identifiers',
338+
'atom-literals', 'attribute-access', 'attribute-references', 'augassign', 'await',
339339
'binary', 'bitwise', 'bltin-code-objects', 'bltin-ellipsis-object',
340340
'bltin-null-object', 'bltin-type-objects', 'booleans',
341341
'break', 'callable-types', 'calls', 'class', 'comparisons', 'compound',

0 commit comments

Comments
 (0)