From: Hugo van Kemenade Date: Sat, 8 Oct 2022 06:54:16 +0000 (-0700) Subject: gh-97913 Docs: Add walrus operator to the index (#97921) X-Git-Tag: v3.12.0a1~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=296313002fde56f52d6c81f17d7ba5c2eb57d098;p=thirdparty%2FPython%2Fcpython.git gh-97913 Docs: Add walrus operator to the index (#97921) * Add walrus operator to the index * Add named expression to the index Co-authored-by: Mariatta Wijaya * Fix indentation and add missing newline Co-authored-by: Ezio Melotti Co-authored-by: Mariatta Wijaya Co-authored-by: Ezio Melotti --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 11f49a8c33dc..28c17566009f 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1741,6 +1741,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 ======================