Skip to content

Commit

Permalink
gh-97913 Docs: Add walrus operator to the index (#97921)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Oct 8, 2022
1 parent 840fd19 commit 2963130
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Doc/reference/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
======================

Expand Down

0 comments on commit 2963130

Please sign in to comment.