[code] Add InteractiveConsole.local_exit (#15519)

This commit is contained in:
Jonathan Dung
2026-03-16 15:32:40 +08:00
committed by GitHub
parent 61524fab4e
commit 2e0a8127f5
+1
View File
@@ -24,6 +24,7 @@ class InteractiveConsole(InteractiveInterpreter):
buffer: list[str] # undocumented
filename: str # undocumented
if sys.version_info >= (3, 13):
local_exit: bool # undocumented
def __init__(
self, locals: dict[str, Any] | None = None, filename: str = "<console>", *, local_exit: bool = False
) -> None: ...