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

11
stdlib/2.7/inspect.pyi Normal file
View File

@@ -0,0 +1,11 @@
# TODO incomplete
from typing import Any, List, Tuple
def isgenerator(object: Any) -> bool: ...
class _Frame:
...
_FrameRecord = Tuple[_Frame, str, int, str, List[str], int]
def currentframe() -> _FrameRecord: ...
def stack(context: int = None) -> List[_FrameRecord]: ...