]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 14 Dec 2021 15:04:29 +0000 (15:04 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Dec 2021 15:04:29 +0000 (23:04 +0800)
commit1cbb88736c32ac30fd530371adf53fe7554be0a5
treeeb9d35f23a2bc559da6425d2fbe33656fbe7f19b
parent74821b30539bba3cf0ac4148923ec0e9b826508e
bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)

The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion.

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Doc/tutorial/controlflow.rst