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 JelleZijlstra
Recipients Corfucinas, JelleZijlstra
Date 2022-01-28.14:30:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643380248.23.0.556548490927.issue46562@roundup.psfhosted.org>
In-reply-to
Content
Thanks for your report!

I think you're looking for the Literal type.

Also, new typing behaviors are better discussed first on https://github.com/python/typing or the typing-sig mailing list.
History
Date User Action Args
2022-01-28 14:30:48JelleZijlstrasetrecipients: + JelleZijlstra, Corfucinas
2022-01-28 14:30:48JelleZijlstrasetmessageid: <1643380248.23.0.556548490927.issue46562@roundup.psfhosted.org>
2022-01-28 14:30:48JelleZijlstralinkissue46562 messages
2022-01-28 14:30:48JelleZijlstracreate