https://github.com/python/cpython/commit/9a1b9d52546cbb0903f9cef4a1f83e3528479e85
commit: 9a1b9d52546cbb0903f9cef4a1f83e3528479e85
branch: 3.13
author: Emily Morehouse <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-10-08T02:14:34+01:00
summary:

[3.13] gh-125072: Add label for assignment expressions; update tracked section 
for assignment expression topic (GH-125074) (#125077)

(cherry picked from commit 447a15190d6d766004b77619ba43e44256e348e2)

files:
M Doc/reference/expressions.rst
M Doc/tools/extensions/pyspecific.py

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index ab72ad49d041e1..decde0d297cf59 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -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
 ======================
 
diff --git a/Doc/tools/extensions/pyspecific.py 
b/Doc/tools/extensions/pyspecific.py
index 6138246ccb4a31..5d27c8ff574036 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -334,8 +334,8 @@ def run(self):
 # 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',

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to