Add TypeGuard (PEP 647 draft) (#4879)

This commit is contained in:
Guido van Rossum authored and GitHub committed 2020-12-30 14:31:40 -08:00
1 parent 91582e6921
commit dcaea8bf06
2 files changed
+4

No files matched your search

+3
View File
@@ -112,3 +112,6 @@ else:
__name__: str
def __init__(self, name: str) -> None: ...
Concatenate: _SpecialForm = ...
# PEP 647
TypeGuard: _SpecialForm = ...