-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed as not planned
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
Current documentation of exit/quit:
Objects that when printed, print a message like “Use quit() or Ctrl-D (i.e. EOF) to exit”, and when called, raise SystemExit with the specified exit code.
However, the current behaviour is:
>>> print(exit)
Use exit() or Ctrl-Z plus Return to exit
>>> print(quit)
Use quit() or Ctrl-Z plus Return to exit
The printed string is different.
Proposed documentation:
Objects that when printed, print a message like “Use quit() or Ctrl-Z plus Return to exit”, and when called, raise SystemExit with the specified exit code.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo