mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-05 03:38:50 +08:00
Added support for PEP613 (TypeAlias) in typing.pyi (#4472)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
1 parent
8cbf009bb7
commit
189bdfb279
1 file changed
+1
@@ -54,6 +54,7 @@ if sys.version_info >= (3, 10):
|
||||
__name__: str
|
||||
def __init__(self, name: str) -> None: ...
|
||||
Concatenate: _SpecialForm = ...
|
||||
TypeAlias: _SpecialForm = ...
|
||||
|
||||
# Return type that indicates a function does not return.
|
||||
# This type is equivalent to the None type, but the no-op Union is necessary to
|
||||
|
||||
Reference in new issue
Block a user