Uh oh!
There was an error while loading. Please reload this page.
add LiteralString - #1053
Conversation
pradeep90
left a comment
There was a problem hiding this comment.
LGTM, but should we wait in case someone has last-minute, heavy objections to the LiteralString name?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
JelleZijlstra
commented
Feb 2, 2022
Good idea, I'll hold off on merging for a while. I'm hoping to release typing-extensions 4.1 once we have PEP 646 support, dataclass_transform, all the functions I'm adding to typing, and this one all implemented. |
srittau
commented
Feb 2, 2022
I've converted this to a draft, just so I don't merge this by accident. Please unconvert (or merge) when ready. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Uh oh!
There was an error while loading. Please reload this page.
Based on the latest revision of PEP 675 (cc @pradeep90).
The implementation is copied from
Self, so the only interesting part is the docstring.