8000 gh-97913 Docs: Add walrus operator to the index (GH-97921) · python/cpython@a2ce21f · GitHub
[go: up one dir, main page]

Skip to content

Commit a2ce21f

Browse files
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@users.noreply.github.com> * Fix indentation and add missing newline Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 2963130) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent 786fde5 commit a2ce21f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/reference/expressions.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,12 @@ returns a boolean value regardless of the type of its argument
17231723
(for example, ``not 'foo'`` produces ``False`` rather than ``''``.)
17241724

17251725

1726+
.. index::
1727+
single: := (colon equals)
1728+
single: assignment expression
1729+
single: walrus operator
1730+
single: named expression
1731+
17261732
Assignment expressions
17271733
======================
17281734

0 commit comments

Comments
 (0)
0