]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update pattern matching docs for changes to the PEP (#25185)
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Tue, 6 Apr 2021 16:03:00 +0000 (00:03 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Apr 2021 16:03:00 +0000 (09:03 -0700)
commit5143fd15b4fe5e122c79e3be4745031f17bb4d8e
tree2f27bd2ed229a56b15284ef3acd54284b8346f18
parent57c6cb5100d19a0e0218c77d887c3c239c9ce435
Update pattern matching docs for changes to the PEP (#25185)

See:
- https://github.com/python/peps/pull/1909 (__match_args__ must be a tuple)
- https://github.com/python/peps/pull/1908 (allow keyword patterns for int(x) etc.)
Doc/reference/compound_stmts.rst
Doc/reference/datamodel.rst