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.
This commit is contained in:
Terry Jan Reedy 2022-11-25 19:03:16 -05:00 committed by GitHub
parent 5556d3e02c
commit a86d854522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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__