summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-04-12 23:30:49 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-04-12 23:30:49 (GMT)
commitbc96f3272d77f587da975eac0c753b7dc7a621aa (patch)
treeb324ce14c64db46ec3596e0c1d690cc26152b5d1 /Lib/site.py
parent44340e6d78536542efe9dff48c5789a2d3e530ce (diff)
downloadcpython-bc96f3272d77f587da975eac0c753b7dc7a621aa.zip
cpython-bc96f3272d77f587da975eac0c753b7dc7a621aa.tar.gz
cpython-bc96f3272d77f587da975eac0c753b7dc7a621aa.tar.bz2
Fix #8364. Update the setquit docstring and change a built-in to builtin.
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py
index b36df1f..865fffb 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -325,8 +325,10 @@ def setBEGINLIBPATH():
def setquit():
- """Define new built-ins 'quit' and 'exit'.
- These are simply strings that display a hint on how to exit.
+ """Define new builtins 'quit' and '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 == ':':
@@ -433,7 +435,7 @@ def setcopyright():
class _Helper(object):
- """Define the built-in 'help'.
+ """Define the builtin 'help'.
This is a wrapper around pydoc.help (with a twist).
"""