From 2e0a8127f544b6240cadd1f150a66e39aaa6dac0 Mon Sep 17 00:00:00 2001 From: Jonathan Dung Date: Mon, 16 Mar 2026 15:32:40 +0800 Subject: [PATCH] [code] Add InteractiveConsole.local_exit (#15519) --- stdlib/code.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/code.pyi b/stdlib/code.pyi index 0b13c8a50..478d5aaa3 100644 --- a/stdlib/code.pyi +++ b/stdlib/code.pyi @@ -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 = "", *, local_exit: bool = False ) -> None: ...