Commit 0b40a0b1 authored by Antoine Pitrou's avatar Antoine Pitrou

Merge

parents 92c97579 c645c6ad
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Generate Python documentation in HTML or text for interactive use. """Generate Python documentation in HTML or text for interactive use.
In the Python interpreter, do "from pydoc import help" to provide online In the Python interpreter, do "from pydoc import help" to provide
help. Calling help(thing) on a Python object documents the object. help. Calling help(thing) on a Python object documents the object.
Or, at the shell command line outside of Python: Or, at the shell command line outside of Python:
...@@ -1838,7 +1838,7 @@ has the same effect as typing a particular string at the help> prompt. ...@@ -1838,7 +1838,7 @@ has the same effect as typing a particular string at the help> prompt.
def intro(self): def intro(self):
self.output.write(''' self.output.write('''
Welcome to Python %s! This is the online help utility. Welcome to Python %s! This is the interactive help utility.
If this is your first time using Python, you should definitely check out If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/%s/tutorial/. the tutorial on the Internet at http://docs.python.org/%s/tutorial/.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment