We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d635956 commit d196748Copy full SHA for d196748
pep-0634.rst
@@ -489,7 +489,7 @@ as follows:
489
490
- For a number of built-in types (specified below),
491
a single positional subpattern is accepted which will match
492
- the entire subject; for these types no keyword patterns are accepted.
+ the entire subject. (Keyword patterns work as for other types here.)
493
- The equivalent of ``getattr(cls, "__match_args__", ()))`` is called.
494
- If this raises an exception the exception bubbles up.
495
- If the returned value is not a tuple, the conversion fails
0 commit comments