https://github.com/python/cpython/commit/a4ef631c5ec19d90e395b638be3e559462e0bf20 commit: a4ef631c5ec19d90e395b638be3e559462e0bf20 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-08-15T13:59:57Z summary:
[3.14] gh-137760: Update REPL constants documentation (gh-137798) (#137822) Co-authored-by: Chaemin-Lim <[email protected]> files: M Doc/library/constants.rst diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst index c0ac4ea8412ebd..04080fd0d865ec 100644 --- a/Doc/library/constants.rst +++ b/Doc/library/constants.rst @@ -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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
