bpo-31582: Created a new documentation section describing sys.path initialization (GH-31082)

This commit is contained in:
Russel Webber 2022-03-23 17:29:40 +00:00 committed by GitHub
parent fe010605f8
commit c62b944dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 128 additions and 29 deletions

View file

@ -194,6 +194,8 @@ named :file:`spam.py` in a list of directories given by the variable
* The installation-dependent default (by convention including a
``site-packages`` directory, handled by the :mod:`site` module).
More details are at :ref:`sys-path-init`.
.. note::
On file systems which support symlinks, the directory containing the input
script is calculated after the symlink is followed. In other words the