Documentation
I noticed that the help() function does not return any documentation for the match statement:
help('match') # No Python documentation found for 'match'
This appears to be because the match keyword is missing from the keywords attribute of the pydoc.Helper class, which is used to look up help topics.
To fix this, "match" (and possibly "case", for completeness) should be added to the keywords dictionary.
Linked PRs
Documentation
I noticed that the help() function does not return any documentation for the
matchstatement:This appears to be because the
matchkeyword is missing from thekeywordsattribute of thepydoc.Helperclass, which is used to look up help topics.To fix this, "match" (and possibly "case", for completeness) should be added to the
keywordsdictionary.Linked PRs
matchandcasetohelptopics #132784