]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix class pattern docs to refer to class patterns (GH-28849)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 10 Oct 2021 14:35:23 +0000 (07:35 -0700)
committerGitHub <noreply@github.com>
Sun, 10 Oct 2021 14:35:23 +0000 (07:35 -0700)
(cherry picked from commit 0bcc5ade9bff086a0b24d71307fae0a891f4efd2)

Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Doc/reference/compound_stmts.rst

index 41719be3dc986e7155064783381e75dc1eb7fcd4..3e5ef687922fff901abc2395e92c3fa1eae97968 100644 (file)
@@ -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