Skip to content

Commit

Permalink
pythongh-97913 Docs: Add walrus operator to the index (pythonGH-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 <[email protected]>

* Fix indentation and add missing newline

Co-authored-by: Ezio Melotti <[email protected]>

Co-authored-by: Mariatta Wijaya <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
(cherry picked from commit 2963130)

Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
miss-islington and hugovk authored Oct 8, 2022
1 parent 786fde5 commit a2ce21f
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 @@ -1723,6 +1723,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 a2ce21f

Please sign in to comment.