aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-25 16:10:48 -0800
committerGitHub <noreply@github.com>2022-11-25 16:10:48 -0800
commit0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35 (patch)
tree8744670c825eb5a375f206b5d98213b15cdf454e
parent[3.11] Fix misspelling in docs for http.HTTPMethod (GH-99376) (#99451) (diff)
downloadcpython-0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35.tar.gz
cpython-0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35.tar.bz2
cpython-0006d9bf7b9f30eb7b487ceeb71f68d5d792ac35.zip
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@udel.edu>
-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 70021c47c32..92cd2f8f807 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__