add (overwrite with) mypy stubs, if available

This commit is contained in:
Matthias Kramm
2015-09-30 07:36:12 -07:00
parent 69e10b3aed
commit 337abed05a
432 changed files with 22360 additions and 776 deletions

10
builtins/3/imp.pyi Normal file
View File

@@ -0,0 +1,10 @@
# Stubs for imp
# NOTE: These are incomplete!
from typing import TypeVar
_T = TypeVar('_T')
def cache_from_source(path: str, debug_override: bool = None) -> str: ...
def reload(module: _T) -> _T: ... # TODO imprecise signature