Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bc96f327
Commit
bc96f327
authored
Apr 12, 2010
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #8364. Update the setquit docstring and change a built-in to builtin.
parent
44340e6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Lib/site.py
Lib/site.py
+5
-3
No files found.
Lib/site.py
View file @
bc96f327
...
...
@@ -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).
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment