Skip to content

Commit 5c4300a

Browse files
davidfstrgvanrossum
authored andcommitted
Add mypy_extensions. (#611)
1 parent bf31967 commit 5c4300a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

third_party/2and3/mypy_extensions.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from typing import Dict, Type, TypeVar
2+
3+
T = TypeVar('T')
4+
5+
6+
def TypedDict(typename: str, fields: Dict[str, Type[T]]) -> Type[dict]: ...

0 commit comments

Comments
 (0)