mirror of
https://github.com/python/cpython.git
synced 2025-12-09 02:35:14 +00:00
gh-137760: Update REPL constants documentation (gh-137798)
This commit is contained in:
parent
75d20b2c67
commit
d6719c6be6
1 changed files with 5 additions and 3 deletions
|
|
@ -97,15 +97,17 @@ should not be used in programs.
|
|||
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
|
||||
(i.e. EOF) to exit", and when accessed directly in the interactive
|
||||
interpreter or called as functions, raise :exc:`SystemExit` with the
|
||||
specified exit code.
|
||||
|
||||
.. data:: help
|
||||
:noindex:
|
||||
|
||||
Object that when printed, prints the message "Type help() for interactive
|
||||
help, or help(object) for help about object.", and when called,
|
||||
acts as described :func:`elsewhere <help>`.
|
||||
help, or help(object) for help about object.", and when accessed directly
|
||||
in the interactive interpreter, invokes the built-in help system
|
||||
(see :func:`help`).
|
||||
|
||||
.. data:: copyright
|
||||
credits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue