[Python-checkins] Fix typo in `__match_args__` doc (GH-99785)

miss-islington webhook-mailer at python.org
Fri Nov 25 19:10:54 EST 2022


https://github.com/python/cpython/commit/0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35
commit: 0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-11-25T16:10:48-08:00
summary:

Fix typo in `__match_args__` doc (GH-99785)


A opy of GH-98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again.
(cherry picked from commit a86d8545221b16e714ffe3bda5afafc1d4748d13)

Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 70021c47c32d..92cd2f8f8074 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2823,7 +2823,7 @@ Customizing positional arguments in class pattern matching
 
 When using a class name in a pattern, positional arguments in the pattern are not
 allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid without special
-support in ``MyClass``. To be able to use that kind of patterns, the class needs to
+support in ``MyClass``. To be able to use that kind of pattern, the class needs to
 define a *__match_args__* attribute.
 
 .. data:: object.__match_args__



More information about the Python-checkins mailing list