mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
12 lines
279 B
Python
12 lines
279 B
Python
# 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]: ...
|