Skip to content

Commit a86d854

Browse files
authored
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.
1 parent 5556d3e commit a86d854

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
@@ -2823,7 +2823,7 @@ Customizing positional arguments in class pattern matching
28232823

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

28292829
.. data:: object.__match_args__

0 commit comments

Comments
 (0)