diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-12 23:33:42 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-12 23:33:42 (GMT) |
commit | fb1d3c1cc75eb8494dab1b0315f2eb4c0989f387 (patch) | |
tree | cb8d1576a7ae995616937fa547e69b43005c7fb6 /Lib/site.py | |
parent | 22f188512b4feaf15779eadd944636e6d6c8df7c (diff) | |
download | cpython-fb1d3c1cc75eb8494dab1b0315f2eb4c0989f387.zip cpython-fb1d3c1cc75eb8494dab1b0315f2eb4c0989f387.tar.gz cpython-fb1d3c1cc75eb8494dab1b0315f2eb4c0989f387.tar.bz2 |
Merged revisions 80022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80022 | brian.curtin | 2010-04-12 18:30:49 -0500 (Mon, 12 Apr 2010) | 2 lines
Fix #8364. Update the setquit docstring and change a built-in to builtin.
........
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py index 3ecc568..55e662c 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -318,8 +318,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 == ':': @@ -431,7 +433,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). """ |