]> granicus.if.org Git - python/commitdiff
Merged revisions 80022 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Mon, 12 Apr 2010 23:33:42 +0000 (23:33 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Mon, 12 Apr 2010 23:33:42 +0000 (23:33 +0000)
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.
........

Lib/site.py

index 3ecc5684cdb2990199ea9b03c28ad085a172a80e..55e662c0b0fd15ac3220285441f8c658f15e30d5 100644 (file)
@@ -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).
 
     """