mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
11
stdlib/2.7/inspect.pyi
Normal file
11
stdlib/2.7/inspect.pyi
Normal 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]: ...
|
||||
Reference in New Issue
Block a user