From: Matthias Klose Date: Thu, 17 Mar 2022 07:20:01 +0000 (+0000) Subject: deb-locations X-Git-Tag: archive/raspbian/3.9.11-1+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5a5280f4f485eefe5d3b4e78603d0761b2f2d964;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