summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2022-11-26 00:03:16 (GMT)
committerGitHub <noreply@github.com>2022-11-26 00:03:16 (GMT)
commita86d8545221b16e714ffe3bda5afafc1d4748d13 (patch)
tree831a4161e2fa74ca6a1d1742c7f8ab157e94351b /Doc/reference
parent5556d3e02ca841b82b1eb42cc3974e0a3bbffaac (diff)
downloadcpython-a86d8545221b16e714ffe3bda5afafc1d4748d13.zip
cpython-a86d8545221b16e714ffe3bda5afafc1d4748d13.tar.gz
cpython-a86d8545221b16e714ffe3bda5afafc1d4748d13.tar.bz2
Fix typo in `__match_args__` doc (#99785)
A opy of #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.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 301f41f..fd682fc 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__