Fix class pattern docs to refer to class patterns (GH-28849)

This commit is contained in:
Christophe Nanteuil 2021-10-10 16:12:51 +02:00 committed by GitHub
parent 532403e7c6
commit 0bcc5ade9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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