add sys._getframemodulename (#14371)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
This commit is contained in:
Anthony Sottile
2025-07-05 16:08:56 -04:00
committed by GitHub
parent 2f198bcfee
commit e940f85509
+4
View File
@@ -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: ...