From 0e12d5616ad1c2c920e33c2729a64dc4c5f7c6af Mon Sep 17 00:00:00 2001 From: Christophe Nanteuil Date: Sun, 10 Oct 2021 10:22:56 +0200 Subject: [PATCH] Mapping appears in the paragraph devoted to classes --- Doc/reference/compound_stmts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 5936cdf5ffc304..3011a168ede42c 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -1017,7 +1017,7 @@ A class pattern represents a class and its positional and keyword arguments The same keyword should not be repeated in class patterns. -The following is the logical flow for matching a mapping pattern against a +The following is the logical flow for matching a class pattern against a subject value: #. If ``name_or_attr`` is not an instance of the builtin :class:`type` , raise