[Python-checkins] r80022 - python/trunk/Lib/site.py
brian.curtin
python-checkins at python.org
Tue Apr 13 01:30:49 CEST 2010
Author: brian.curtin
Date: Tue Apr 13 01:30:49 2010
New Revision: 80022
Log:
Fix #8364. Update the setquit docstring and change a built-in to builtin.
Modified:
python/trunk/Lib/site.py
Modified: python/trunk/Lib/site.py
==============================================================================
--- python/trunk/Lib/site.py (original)
+++ python/trunk/Lib/site.py Tue Apr 13 01:30:49 2010
@@ -325,8 +325,10 @@
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 @@
class _Helper(object):
- """Define the built-in 'help'.
+ """Define the builtin 'help'.
This is a wrapper around pydoc.help (with a twist).
"""
More information about the Python-checkins
mailing list