From: Matthias Klose Date: Wed, 20 Jan 2021 14:49:22 +0000 (+0000) Subject: deb-locations X-Git-Tag: archive/raspbian/3.9.1-4+rpi1^2^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=79f06c1a74083e6eaaa928b8aec3ec0509144c11;p=python3.9.git deb-locations # DP: adjust locations of directories to debian policy # DP: adjust locations of directories to debian policy Gbp-Pq: Name deb-locations.diff --- diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 35ef3eb..4422ea8 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -31,6 +31,10 @@ to a file named ".html". Module docs for core modules are assumed to be in + /usr/share/doc/pythonX.Y/html/library + +if the pythonX.Y-doc package is installed or in + https://docs.python.org/X.Y/library/ This can be overridden by setting the PYTHONDOCS environment variable diff --git a/Misc/python.man b/Misc/python.man index 2253765..7ad1593 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -371,7 +371,7 @@ exception). Error messages are written to stderr. These are subject to difference depending on local installation conventions; ${prefix} and ${exec_prefix} are installation-dependent and should be interpreted as for GNU software; they may be the same. -The default for both is \fI/usr/local\fP. +On Debian GNU/{Hurd,Linux} the default for both is \fI/usr\fP. .IP \fI${exec_prefix}/bin/python\fP Recommended location of the interpreter. .PP