diff --git a/third_party/2and3/typing_extensions.pyi b/third_party/2and3/typing_extensions.pyi index 4a0f97215..3f060961b 100644 --- a/third_party/2and3/typing_extensions.pyi +++ b/third_party/2and3/typing_extensions.pyi @@ -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