[Python-checkins] bpo-38623: Add note about site module (site-packages) (GH-16974)

ambv webhook-mailer at python.org
Thu Sep 23 17:40:03 EDT 2021

commit: 55b45bf707c6c8084db259fe2f8aa08e84ea0d99
branch: main
author: Peter Bittner <django at bittner.it>
committer: ambv <lukasz at langa.pl>
date: 2021-09-23T23:39:58+02:00

bpo-38623: Add note about site module (site-packages) (GH-16974)

M Doc/tutorial/modules.rst

diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index a495c50cbde88..f1d4957e37eb1 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -191,7 +191,8 @@ named :file:`spam.py` in a list of directories given by the variable
   file is specified).
 * :envvar:`PYTHONPATH` (a list of directory names, with the same syntax as the
   shell variable :envvar:`PATH`).
-* The installation-dependent default.
+* The installation-dependent default (by convention including a
+  ``site-packages`` directory, handled by the :mod:`site` module).
 .. note::
    On file systems which support symlinks, the directory containing the input

More information about the Python-checkins mailing list