Skip to content

Commit fae745e

Browse files
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 a86d854) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent aabe831 commit fae745e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ Customizing positional arguments in class pattern matching
27522752

27532753
When using a class name in a pattern, positional arguments in the pattern are not
27542754
allowed by default, i.e. ``case MyClass(x, y)`` is typically invalid without special
2755-
support in ``MyClass``. To be able to use that kind of patterns, the class needs to
2755+
support in ``MyClass``. To be able to use that kind of pattern, the class needs to
27562756
define a *__match_args__* attribute.
27572757

27582758
.. data:: object.__match_args__

0 commit comments

Comments
 (0)