You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The PEG rule "case_block" of match statement seems not rendered correctly #149861
The PEG rule of "case_block" of match statement, in "3.14.5 Documentation » The Python Language Reference » 8. Compound statements" seems not rendered correctly.
The case_block syntax is here. If the word block is an actual syntax term similar to guard, it should be in blue and underlined and linked to the block syntax line. But the block syntax seems to be missing from both the doc and pep-0634 Is it the same as a normal compound statement suite? (If so, use that.) Or more restricted?
If the link is meant to be missing, then I believe "`!block`" needs something like ":role:" in front.
Documentation
The PEG rule of "case_block" of match statement, in "3.14.5 Documentation » The Python Language Reference » 8. Compound statements" seems not rendered correctly.
Linked PRs
case_blockin match statement PEG grammar #149908case_blockPEG grammar (GH-149908) #150512case_blockPEG grammar (GH-149908) #150513case_blockPEG grammar (GH-149908) #150514