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