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

ambv webhook-mailer at python.org
Thu Sep 23 18:48:13 EDT 2021


https://github.com/python/cpython/commit/87f97fe5e6434da51246d70af9e2cd7d63c29fba
commit: 87f97fe5e6434da51246d70af9e2cd7d63c29fba
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-09-24T00:48:06+02:00
summary:

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

(cherry picked from commit 55b45bf707c6c8084db259fe2f8aa08e84ea0d99)

Co-authored-by: Peter Bittner <django at bittner.it>

files:
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