From: Brian Curtin Date: Mon, 12 Apr 2010 23:30:49 +0000 (+0000) Subject: Fix #8364. Update the setquit docstring and change a built-in to builtin. X-Git-Tag: v2.7b2~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc96f3272d77f587da975eac0c753b7dc7a621aa;p=python Fix #8364. Update the setquit docstring and change a built-in to builtin. --- diff --git a/Lib/site.py b/Lib/site.py index b36df1f5dc..865fffb7b5 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). """