mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
add sys._getframemodulename (#14371)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
This commit is contained in:
@@ -345,6 +345,10 @@ else:
|
||||
|
||||
def _current_frames() -> dict[int, FrameType]: ...
|
||||
def _getframe(depth: int = 0, /) -> FrameType: ...
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
def _getframemodulename(depth: int = 0) -> str | None: ...
|
||||
|
||||
def _debugmallocstats() -> None: ...
|
||||
def __displayhook__(object: object, /) -> None: ...
|
||||
def __excepthook__(exctype: type[BaseException], value: BaseException, traceback: TracebackType | None, /) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user