Add PEP 646 and 675 to typing-extensions (#7198)

This commit is contained in:
Jelle Zijlstra
2022-02-13 23:59:11 -08:00
committed by GitHub
parent b0f2bd68b0
commit 319d23a16e

View File

@@ -147,6 +147,13 @@ else:
# Experimental (hopefully these will be in 3.11)
Required: _SpecialForm
NotRequired: _SpecialForm
LiteralString: _SpecialForm
Unpack: _SpecialForm
class TypeVarTuple:
__name__: str
def __init__(self, name: str) -> None: ...
def __iter__(self) -> Any: ... # Unpack[Self]
def dataclass_transform(
*,