diff -r dd5e7aef4d5b Doc/library/site.rst --- a/Doc/library/site.rst Sun Apr 14 10:36:03 2013 +0200 +++ b/Doc/library/site.rst Sun Apr 14 10:42:02 2013 +0200 @@ -31,6 +31,13 @@ Unix and Macintosh). For each of the di if it refers to an existing directory, and if so, adds it to ``sys.path`` and also inspects the newly added path for configuration files. +.. note:: + + Some Linux distributions (such as Debian/Ubuntu) change the default module + search path to be able to share Python modules between minor versions. These + distributions should patch the docstring for the :mod:`site` module to + explain their changes, so please refer to ``help(site)`` on these platforms. + A path configuration file is a file whose name has the form :file:`{name}.pth` and exists in one of the four directories mentioned above; its contents are additional items (one per line) to be added to ``sys.path``. Non-existing items