From 3a110109e8be7d12d6b0727b3e722608bce40e0f Mon Sep 17 00:00:00 2001 From: donBarbos Date: Wed, 2 Apr 2025 22:13:51 +0400 Subject: [PATCH] Document `*` for `code.InteractiveConsole` --- Doc/library/code.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/code.rst b/Doc/library/code.rst index 8f7692df9fb22d..88a0a62162814a 100644 --- a/Doc/library/code.rst +++ b/Doc/library/code.rst @@ -23,7 +23,7 @@ build applications which provide an interactive interpreter prompt. ``'__console__'`` and key ``'__doc__'`` set to ``None``. -.. class:: InteractiveConsole(locals=None, filename="", local_exit=False) +.. class:: InteractiveConsole(locals=None, filename="", *, local_exit=False) Closely emulate the behavior of the interactive Python interpreter. This class builds on :class:`InteractiveInterpreter` and adds prompting using the familiar