From fd4fa8801a75919dd711e9f750b8a405a639f2c2 Mon Sep 17 00:00:00 2001
From: Skip Montanaro <skip@pobox.com>
Date: Wed, 10 Sep 2003 19:04:13 +0000
Subject: mention new module doc display feature of pydoc in libref and NEWS

---
 Doc/lib/libpydoc.tex | 5 +++++
 Misc/NEWS            | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/Doc/lib/libpydoc.tex b/Doc/lib/libpydoc.tex
index 0108d79..bb74df6 100644
--- a/Doc/lib/libpydoc.tex
+++ b/Doc/lib/libpydoc.tex
@@ -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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 1632b65..1208d41 100644
--- 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
-- 
cgit v0.12

