massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / mypy_extensions.pyi
1 from typing import Dict, Type, TypeVar, Optional, Union\r
2 \r
3 _T = TypeVar('_T')\r
4 \r
5 def TypedDict(typename: str, fields: Dict[str, Type[_T]], total: bool = ...) -> Type[dict]: ...\r
6 \r
7 def Arg(type: _T = ..., name: Optional[str] = ...) -> _T: ...\r
8 def DefaultArg(type: _T = ..., name: Optional[str] = ...) -> _T: ...\r
9 def NamedArg(type: _T = ..., name: Optional[str] = ...) -> _T: ...\r
10 def DefaultNamedArg(type: _T = ..., name: Optional[str] = ...) -> _T: ...\r
11 def VarArg(type: _T = ...) -> _T: ...\r
12 def KwArg(type: _T = ...) -> _T: ...\r
13 \r
14 # Return type that indicates a function does not return.\r
15 # This type is equivalent to the None type, but the no-op Union is necessary to\r
16 # distinguish the None type from the None value.\r
17 NoReturn = Union[None]  # Deprecated: Use typing.NoReturn instead.\r