From 0dd134ca67bbf215dcb72800ef37093c573567eb Mon Sep 17 00:00:00 2001 From: Chau Chun Pang <71358024+Joeccp@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:38:02 +0800 Subject: [PATCH] Update printed message of `quit` --- Doc/library/constants.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst index c0ac4ea8412ebd..096e248ad304ee 100644 --- a/Doc/library/constants.rst +++ b/Doc/library/constants.rst @@ -96,8 +96,8 @@ should not be used in programs. .. 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 + Objects that when printed, print a message like "Use quit() or Ctrl-Z + plus Return to exit", and when called, raise :exc:`SystemExit` with the specified exit code. .. data:: help