This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients docs@python, taleinat
Date 2021-05-09.06:49:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620542980.52.0.707303221458.issue44084@roundup.psfhosted.org>
In-reply-to
Content
Beginning in Python 3.10, `match`, `case` and `_` are "soft keywords", i.e. they are considered keywords only in specific parts of the syntax.

However, they cannot be tagged with a :keyword:`...` role in our docs.

This appears to be due to not appearing in the list of keywords in the Python lexer in Pygments, which is used by Sphinx.

I've opened an issue on the Pygments repo about this:
https://github.com/pygments/pygments/issues/1797
History
Date User Action Args
2021-05-09 06:49:40taleinatsetrecipients: + taleinat, docs@python
2021-05-09 06:49:40taleinatsetmessageid: <1620542980.52.0.707303221458.issue44084@roundup.psfhosted.org>
2021-05-09 06:49:40taleinatlinkissue44084 messages
2021-05-09 06:49:40taleinatcreate