diff options
author | Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com> | 2021-10-10 14:12:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 14:12:51 (GMT) |
commit | 0bcc5ade9bff086a0b24d71307fae0a891f4efd2 (patch) | |
tree | 865bae9ebfc029cedb1016f584b6d70af578b878 /Doc/reference | |
parent | 532403e7c64b079934e98f1dc29af7c603eb3db7 (diff) | |
download | cpython-0bcc5ade9bff086a0b24d71307fae0a891f4efd2.zip cpython-0bcc5ade9bff086a0b24d71307fae0a891f4efd2.tar.gz cpython-0bcc5ade9bff086a0b24d71307fae0a891f4efd2.tar.bz2 |
Fix class pattern docs to refer to class patterns (GH-28849)
Diffstat (limited to 'Doc/reference')
-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 5936cdf..3011a16 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 |