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 <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>
  • Loading branch information
hugovk authored and miss-islington committed Oct 8, 2022
1 parent 225bee7 commit d24a9ed
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 d24a9ed

Please sign in to comment.