]> granicus.if.org Git - python/commitdiff
mention new module doc display feature of pydoc in libref and NEWS
authorSkip Montanaro <skip@pobox.com>
Wed, 10 Sep 2003 19:04:13 +0000 (19:04 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 10 Sep 2003 19:04:13 +0000 (19:04 +0000)
Doc/lib/libpydoc.tex
Misc/NEWS

index 0108d798b413582650f15b5e25900802a3f43d64..bb74df6cbc7c838ff7b1aa4508b1d8a6f61e7306 100644 (file)
@@ -60,3 +60,8 @@ environment and path to locate modules.  Thus, invoking
 \program{pydoc} \programopt{spam} documents precisely the version of
 the module you would get if you started the Python interpreter and
 typed \samp{import spam}.
+
+Module docs for core modules are assumed to reside in
+{}\url{http://www.python.org/doc/current/lib/}.  This can be overridden by
+setting the \envvar{PYTHONDOCS} environment variable to a different URL or
+to a local directory containing the Library Reference Manual pages.
index 1632b65700c1b345774dc99f5ed7efc18c708bc4..1208d41a9282344266bd9d3483e29889b04b0578 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -62,6 +62,11 @@ Library
 Tools/Demos
 -----------
 
+- The pydoc script will display a link to the module documentation for
+  modules determined to be part of the core distribution.  The documentation
+  base directory defaults to http://www.python.org/doc/current/lib/ but can
+  be changed by setting the PYTHONDOCS environment variable.
+
 - texcheck.py now detects double word errors.
 
 - md5sum.py mistakenly opened input files in text mode by default, a