mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Improve sys._current_frames hint (#4916)
This commit is contained in:
@@ -146,7 +146,8 @@ version_info: _version_info
|
||||
|
||||
def call_tracing(__func: Callable[..., _T], __args: Any) -> _T: ...
|
||||
def _clear_type_cache() -> None: ...
|
||||
def _current_frames() -> Dict[int, Any]: ...
|
||||
def _current_frames() -> Dict[int, FrameType]: ...
|
||||
def _getframe(__depth: int = ...) -> FrameType: ...
|
||||
def _debugmallocstats() -> None: ...
|
||||
def __displayhook__(value: object) -> None: ...
|
||||
def __excepthook__(type_: Type[BaseException], value: BaseException, traceback: TracebackType) -> None: ...
|
||||
@@ -168,7 +169,6 @@ def getsizeof(obj: object) -> int: ...
|
||||
@overload
|
||||
def getsizeof(obj: object, default: int) -> int: ...
|
||||
def getswitchinterval() -> float: ...
|
||||
def _getframe(__depth: int = ...) -> FrameType: ...
|
||||
|
||||
_ProfileFunc = Callable[[FrameType, str, Any], Any]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user