[Python-checkins] gh-97913 Docs: Add walrus operator to the index (GH-97921)

miss-islington webhook-mailer at python.org
Sat Oct 8 03:01:32 EDT 2022


https://github.com/python/cpython/commit/9828ccb63bb53311381d8ee08ef447d0048e4189
commit: 9828ccb63bb53311381d8ee08ef447d0048e4189
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-08T00:01:27-07:00
summary:

gh-97913 Docs: Add walrus operator to the index (GH-97921)


* Add walrus operator to the index

* Add named expression to the index

Co-authored-by: Mariatta Wijaya <Mariatta at users.noreply.github.com>

* Fix indentation and add missing newline

Co-authored-by: Ezio Melotti <ezio.melotti at gmail.com>

Co-authored-by: Mariatta Wijaya <Mariatta at users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti at gmail.com>
(cherry picked from commit 296313002fde56f52d6c81f17d7ba5c2eb57d098)

Co-authored-by: Hugo van Kemenade <hugovk at users.noreply.github.com>

files:
M Doc/reference/expressions.rst

diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index fd43e6c161f7..6b5e0e1628f1 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1730,6 +1730,12 @@ returns a boolean value regardless of the type of its argument
 (for example, ``not 'foo'`` produces ``False`` rather than ``''``.)
 
 
+.. index::
+   single: := (colon equals)
+   single: assignment expression
+   single: walrus operator
+   single: named expression
+
 Assignment expressions
 ======================
 



More information about the Python-checkins mailing list