]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-125072: Add label for assignment expressions; update tracked section for...
authorEmily Morehouse <emily@python.org>
Tue, 8 Oct 2024 01:14:34 +0000 (19:14 -0600)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2024 01:14:34 +0000 (02:14 +0100)
(cherry picked from commit 447a15190d6d766004b77619ba43e44256e348e2)

Doc/reference/expressions.rst
Doc/tools/extensions/pyspecific.py

index ab72ad49d041e14e1e7bb51f4b351b14f48e05cf..decde0d297cf59b11d4a89d0e0404f89321ca8cb 100644 (file)
@@ -1809,6 +1809,8 @@ returns a boolean value regardless of the type of its argument
    single: named expression
    pair: assignment; expression
 
+.. _assignment-expressions:
+
 Assignment expressions
 ======================
 
index 6138246ccb4a310e1e2a117a1303299ba7523cc1..5d27c8ff574036cb20aef0b0cc4041460f80f7ec 100644 (file)
@@ -334,8 +334,8 @@ class MiscNews(SphinxDirective):
 # Support for building "topic help" for pydoc
 
 pydoc_topic_labels = [
-    'assert', 'assignment', 'async', 'atom-identifiers', 'atom-literals',
-    'attribute-access', 'attribute-references', 'augassign', 'await',
+    'assert', 'assignment', 'assignment-expressions', 'async',  'atom-identifiers',
+    'atom-literals', 'attribute-access', 'attribute-references', 'augassign', 'await',
     'binary', 'bitwise', 'bltin-code-objects', 'bltin-ellipsis-object',
     'bltin-null-object', 'bltin-type-objects', 'booleans',
     'break', 'callable-types', 'calls', 'class', 'comparisons', 'compound',