Skip to content

Commit 637bf6a

Browse files
hugovkMariattaezio-melotti
authored andcommitted
pythongh-97913 Docs: Add walrus operator to the index (python#97921)
* 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]>
1 parent 98b3aca commit 637bf6a

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
@@ -1741,6 +1741,12 @@ returns a boolean value regardless of the type of its argument
17411741
(for example, ``not 'foo'`` produces ``False`` rather than ``''``.)
17421742

17431743

1744+
.. index::
1745+
single: := (colon equals)
1746+
single: assignment expression
1747+
single: walrus operator
1748+
single: named expression
1749+
17441750
Assignment expressions
17451751
======================
17461752

0 commit comments

Comments
 (0)