parent
d56591331e
commit
bf6e6ec5ba
|
@ -370,9 +370,11 @@ this section are there for helping the reader, not as a full specification.
|
|||
|
||||
We propose that the match operation should be a statement, not an expression.
|
||||
Although in
|
||||
|
||||
many languages it is an expression, being a statement better suits the general
|
||||
logic of Python syntax. See `rejected ideas`_ for more discussion. The list of
|
||||
allowed patterns is specified below in the `patterns`_ subsection.
|
||||
logic of Python syntax. See `rejected ideas`_ for more discussion.
|
||||
The allowed patterns are described in detail below in the `patterns`_
|
||||
subsection.
|
||||
|
||||
The ``match`` and ``case`` keywords are proposed to be soft keywords,
|
||||
so that they are recognized as keywords at the beginning of a match
|
||||
|
|
Loading…
Reference in New Issue