summaryrefslogtreecommitdiffstats
path: root/Doc/library/code.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-05-08 19:35:16 (GMT)
committerGitHub <noreply@github.com>2024-05-08 19:35:16 (GMT)
commit05c2fe1acda9ea5a57061642c36e8b73bb4fbba4 (patch)
tree5b772347155d51f9796ebd4df456858edbd16fc7 /Doc/library/code.rst
parentbcb435ee8ff41b5ec5d879ee0b6651f146a66151 (diff)
downloadcpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.zip
cpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.tar.gz
cpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.tar.bz2
Format None, True, False and NotImplemented as literals (GH-118758)
Diffstat (limited to 'Doc/library/code.rst')
-rw-r--r--Doc/library/code.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/code.rst b/Doc/library/code.rst
index c297160..8c3a3e8 100644
--- a/Doc/library/code.rst
+++ b/Doc/library/code.rst
@@ -27,7 +27,7 @@ build applications which provide an interactive interpreter prompt.
Closely emulate the behavior of the interactive Python interpreter. This class
builds on :class:`InteractiveInterpreter` and adds prompting using the familiar
- ``sys.ps1`` and ``sys.ps2``, and input buffering. If *local_exit* is True,
+ ``sys.ps1`` and ``sys.ps2``, and input buffering. If *local_exit* is true,
``exit()`` and ``quit()`` in the console will not raise :exc:`SystemExit`, but
instead return to the calling code.