mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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 <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>
This commit is contained in:
parent
840fd19590
commit
296313002f
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
======================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue