Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd4fa88

Browse files
author
Skip Montanaro
committed
mention new module doc display feature of pydoc in libref and NEWS
1 parent 6e380cd commit fd4fa88

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

Doc/lib/libpydoc.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,8 @@ \section{\module{pydoc} ---
6060
\program{pydoc} \programopt{spam} documents precisely the version of
6161
the module you would get if you started the Python interpreter and
6262
typed \samp{import spam}.
63+
64+
Module docs for core modules are assumed to reside in
65+
{}\url{http://www.python.org/doc/current/lib/}. This can be overridden by
66+
setting the \envvar{PYTHONDOCS} environment variable to a different URL or
67+
to a local directory containing the Library Reference Manual pages.

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ Library
6262
Tools/Demos
6363
-----------
6464

65+
- The pydoc script will display a link to the module documentation for
66+
modules determined to be part of the core distribution. The documentation
67+
base directory defaults to http://www.python.org/doc/current/lib/ but can
68+
be changed by setting the PYTHONDOCS environment variable.
69+
6570
- texcheck.py now detects double word errors.
6671

6772
- md5sum.py mistakenly opened input files in text mode by default, a

0 commit comments

Comments
 (0)