Add stub for typing_extensions.get_args (#4373)

This commit is contained in:
Igor Nehoroshev
2020-08-03 22:49:18 +03:00
committed by GitHub
parent 7894269bb5
commit 8ae5549b61

View File

@@ -17,6 +17,7 @@ from typing import (
NoReturn as NoReturn,
Optional,
Text as Text,
Tuple,
Type as Type,
TypeVar,
ValuesView,
@@ -88,6 +89,9 @@ def get_type_hints(
include_extras: bool = ...,
) -> Dict[str, Any]: ...
if sys.version_info >= (3, 7):
def get_args(tp: Any) -> Tuple[Any, ...]: ...
Annotated: _SpecialForm = ...
_AnnotatedAlias: Any = ... # undocumented