From: Matthias Klose Date: Wed, 12 Jan 2022 16:10:51 +0000 (+0000) Subject: deb-locations X-Git-Tag: archive/raspbian/3.9.9-4+rpi1^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9116f249d50dcae8b3a5c4a0bd1b5789d7dbece0;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