mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +08:00
Add PEP 646 and 675 to typing-extensions (#7198)
This commit is contained in:
1 parent
b0f2bd68b0
commit
319d23a16e
1 file changed
+7
@@ -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(
|
||||
*,
|
||||
|
||||
Reference in new issue
Block a user