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.
........
This commit is contained in:
Brian Curtin 2010-04-12 23:33:42 +00:00
parent 22f188512b
commit fb1d3c1cc7
1 changed files with 5 additions and 3 deletions

View File

@ -318,8 +318,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 == ':':
@ -431,7 +433,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).
""" """