Commit bc96f327 authored by Brian Curtin's avatar Brian Curtin

Fix #8364. Update the setquit docstring and change a built-in to builtin.

parent 44340e6d
...@@ -325,8 +325,10 @@ def setBEGINLIBPATH(): ...@@ -325,8 +325,10 @@ def setBEGINLIBPATH():
def setquit(): def setquit():
"""Define new built-ins 'quit' and 'exit'. """Define new builtins 'quit' and 'exit'.
These are simply strings that display a hint on how to exit.
These are objects which make the interpreter exit when called.
The repr of each object contains a hint at how it works.
""" """
if os.sep == ':': if os.sep == ':':
...@@ -433,7 +435,7 @@ def setcopyright(): ...@@ -433,7 +435,7 @@ def setcopyright():
class _Helper(object): class _Helper(object):
"""Define the built-in 'help'. """Define the builtin 'help'.
This is a wrapper around pydoc.help (with a twist). This is a wrapper around pydoc.help (with a twist).
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment