Skip to content

Commit 929a77c

Browse files
[3.13] gh-137760: Update REPL constants documentation (gh-137798) (gh-137823)
gh-137760: Update REPL constants documentation (gh-137798) (cherry picked from commit d6719c6) Co-authored-by: Chaemin-Lim <antraxmin@naver.com>
1 parent 5131b8f commit 929a77c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Doc/library/constants.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,17 @@ should not be used in programs.
9494
exit(code=None)
9595

9696
Objects that when printed, print a message like "Use quit() or Ctrl-D
97-
(i.e. EOF) to exit", and when called, raise :exc:`SystemExit` with the
97+
(i.e. EOF) to exit", and when accessed directly in the interactive
98+
interpreter or called as functions, raise :exc:`SystemExit` with the
9899
specified exit code.
99100

100101
.. data:: help
101102
:noindex:
102103

103104
Object that when printed, prints the message "Type help() for interactive
104-
help, or help(object) for help about object.", and when called,
105-
acts as described :func:`elsewhere <help>`.
105+
help, or help(object) for help about object.", and when accessed directly
106+
in the interactive interpreter, invokes the built-in help system
107+
(see :func:`help`).
106108

107109
.. data:: copyright
108110
credits

0 commit comments

Comments
 (0)