diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-07-26 22:11:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 22:11:55 (GMT) |
commit | 11749e2dc20ad6a76e9a39e948853e89b2b4bbed (patch) | |
tree | 7b370ec4036b21ae99ca0b46c1d82ac122f9d43f /Doc/library/pydoc.rst | |
parent | 6c7ec7282b68dcd0f3af0f1ccc6345da4bc06931 (diff) | |
download | cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.zip cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.gz cpython-11749e2dc20ad6a76e9a39e948853e89b2b4bbed.tar.bz2 |
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/library/pydoc.rst')
-rw-r--r-- | Doc/library/pydoc.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pydoc.rst b/Doc/library/pydoc.rst index f956b9d..94daf4a 100644 --- a/Doc/library/pydoc.rst +++ b/Doc/library/pydoc.rst @@ -18,7 +18,7 @@ The :mod:`pydoc` module automatically generates documentation from Python modules. The documentation can be presented as pages of text on the console, -served to a Web browser, or saved to HTML files. +served to a web browser, or saved to HTML files. For modules, classes, functions and methods, the displayed documentation is derived from the docstring (i.e. the :attr:`__doc__` attribute) of the object, @@ -65,9 +65,9 @@ manner similar to the Unix :program:`man` command. The synopsis line of a module is the first line of its documentation string. You can also use :program:`pydoc` to start an HTTP server on the local machine -that will serve documentation to visiting Web browsers. :program:`pydoc -p 1234` +that will serve documentation to visiting web browsers. :program:`pydoc -p 1234` will start a HTTP server on port 1234, allowing you to browse the -documentation at ``http://localhost:1234/`` in your preferred Web browser. +documentation at ``http://localhost:1234/`` in your preferred web browser. Specifying ``0`` as the port number will select an arbitrary unused port. :program:`pydoc -n <hostname>` will start the server listening at the given |