Skip to content

Add Never and assert_never - #1060

Merged
JelleZijlstra merged 4 commits into
python:masterfrom
JelleZijlstra:never
Feb 11, 2022
Merged

Add Never and assert_never#1060
JelleZijlstra merged 4 commits into
python:masterfrom
JelleZijlstra:never

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

Backport of python/cpython#30842, with additional tests from @sobolevn's python/cpython#31222.

Comment threadtyping_extensions/src/typing_extensions.py Outdated
@JelleZijlstra
JelleZijlstra merged commit a53957c into python:masterFeb 11, 2022
@JelleZijlstra
JelleZijlstra deleted the never branch February 11, 2022 01:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@JelleZijlstra@sobolevn@the-knights-who-say-ni