From 184bdc7ce43e94d5e5795f51d948e74b09dc03dc Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Sun, 1 Dec 2024 14:12:57 +0200 Subject: [PATCH] deb-locations # DP: adjust locations of directories to debian policy # DP: adjust locations of directories to debian policy Gbp-Pq: Name deb-locations.diff --- Lib/pydoc.py | 4 ++++ Misc/python.man | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2