Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(expressions): add := and "walrus" to index
  • Loading branch information
simon04 authored Oct 5, 2022
commit 8d6c2d346d3017140dbcb2869a4dac21376180a8
4 changes: 4 additions & 0 deletions Doc/reference/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,10 @@ returns a boolean value regardless of the type of its argument
Assignment expressions
======================

.. index::
operator: :=
operator: walrus

.. productionlist:: python-grammar
assignment_expression: [`identifier` ":="] `expression`

Expand Down