diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-10-10 07:35:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 07:35:23 -0700 |
commit | 3c270130774fa4d19fd5c2728b9309625da40b87 (patch) | |
tree | 7726f7734b7d748a2911a4cddf8206348803cf32 | |
parent | 14a483aa400dda8346ac474ce22e2ba8d8126dff (diff) | |
download | cpython-git-3c270130774fa4d19fd5c2728b9309625da40b87.tar.gz |
Fix class pattern docs to refer to class patterns (GH-28849)
(cherry picked from commit 0bcc5ade9bff086a0b24d71307fae0a891f4efd2)
Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
-rw-r--r-- | Doc/reference/compound_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 41719be3dc..3e5ef68792 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 |