summaryrefslogtreecommitdiff
path: root/Doc/library/constants.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-10 09:03:43 +0000
committerGeorg Brandl <georg@python.org>2009-04-10 09:03:43 +0000
commitc2a4f4fb67a76cb04731beebc515878f9b91674c (patch)
tree35fe3ee01b0b32931f4beb11ebcc4553d0f34f3a /Doc/library/constants.rst
parent388faac8cb5be6ad1ad474bae237b71bd00a1900 (diff)
downloadcpython-git-c2a4f4fb67a76cb04731beebc515878f9b91674c.tar.gz
Update signature style for optional arguments, part 3.
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