From: Matthias Klose Date: Fri, 3 Sep 2021 06:18:44 +0000 (+0100) Subject: deb-locations X-Git-Tag: archive/raspbian/3.9.7-2+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2dc140ed80e9322cb7bf331b04a9b795e4d8fb77;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 4f9d227..436f607 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