From bf6e6ec5ba65a5dc0e6ca449b215cc7e350dbbd3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 9 Jul 2020 15:02:38 -0700 Subject: [PATCH] PEP 622: clarify 'list of patterns' reference Fixes #1511 --- pep-0622.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pep-0622.rst b/pep-0622.rst index 397c14739..9c6fa9a24 100644 --- a/pep-0622.rst +++ b/pep-0622.rst @@ -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