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

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


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

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

(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 af595e5ca04d7..f6250291c8824 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