]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131885: Document `*` for `code.InteractiveConsole` (#132029)
authorSemyon Moroz <donbarbos@proton.me>
Fri, 31 Oct 2025 10:16:32 +0000 (14:16 +0400)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 10:16:32 +0000 (11:16 +0100)
Doc/library/code.rst

index 52587c4dd8f8e87fa8a3688ef4d83a933673fc66..59c016d21501b03b85130d94f75d067b10ea4702 100644 (file)
@@ -29,7 +29,7 @@ build applications which provide an interactive interpreter prompt.
    module.
 
 
-.. class:: InteractiveConsole(locals=None, filename="<console>", local_exit=False)
+.. class:: InteractiveConsole(locals=None, filename="<console>", *, local_exit=False)
 
    Closely emulate the behavior of the interactive Python interpreter. This class
    builds on :class:`InteractiveInterpreter` and adds prompting using the familiar