fix: add get_origin to typing_extensions (#4438)

Fixes #4430
This commit is contained in:
Sebastian Kreft
2020-08-11 16:45:54 -04:00
committed by GitHub
parent 276d0428b9
commit 3bd5471744

View File

@@ -91,6 +91,7 @@ def get_type_hints(
if sys.version_info >= (3, 7):
def get_args(tp: Any) -> Tuple[Any, ...]: ...
def get_origin(tp: Any) -> Optional[Any]: ...
Annotated: _SpecialForm = ...
_AnnotatedAlias: Any = ... # undocumented