Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Literal[...]' to typing_extension stubs #2664

Merged

Conversation

Michael0x2a
Copy link
Contributor

This pull request adds 'Literal' to the typing_extension stubs and serves as the dual of this PR: python/typing#591

For background context, here's the associated PEP draft: Michael0x2a/peps#1

This pull request adds 'Literal' to the typing_extension stubs
and serves as the dual of this PR:
python/typing#591

For background context, here's the associated PEP draft:
Michael0x2a/peps#1
@Michael0x2a
Copy link
Contributor Author

I don't think there's really any rush to get this landed, but I figured I might as well make the PR now to save a smidgen of effort later on.

@srittau srittau changed the title Add 'Literal[...]' to typing_extension stubs [WIP] Add 'Literal[...]' to typing_extension stubs Dec 3, 2018
@srittau
Copy link
Collaborator

srittau commented Dec 3, 2018

I have added the [WIP] tag until this lands in typing_extensions.

@ilevkivskyi ilevkivskyi changed the title [WIP] Add 'Literal[...]' to typing_extension stubs Add 'Literal[...]' to typing_extension stubs Dec 3, 2018
@ilevkivskyi
Copy link
Member

I just landed the runtime counterpart.

@srittau srittau merged commit 6f061bb into python:master Dec 4, 2018
yedpodtrzitko pushed a commit to yedpodtrzitko/typeshed that referenced this pull request Jan 23, 2019
This pull request adds 'Literal' to the typing_extension stubs
and serves as the dual of this PR:
python/typing#591

For background context, here's the associated PEP draft:
Michael0x2a/peps#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants