summaryrefslogtreecommitdiff
path: root/Doc/library/constants.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/constants.rst')
-rw-r--r--Doc/library/constants.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
index 39d61cbdb0..b9b36715dc 100644
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -61,8 +61,8 @@ if the :option:`-S` command-line option is given) adds several constants to the
built-in namespace. They are useful for the interactive interpreter shell and
should not be used in programs.
-.. data:: quit([code=None])
- exit([code=None])
+.. data:: quit(code=None)
+ exit(code=None)
Objects that when printed, print a message like "Use quit() or Ctrl-D
(i.e. EOF) to exit", and when called, raise :exc:`SystemExit` with the