mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Clarify docs on where .pth files can exist.
This commit is contained in:
parent
7cdf3e8a8a
commit
508c57d544
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ path for configuration files.
|
|||
\indexii{site-packages}{directory}
|
||||
|
||||
A path configuration file is a file whose name has the form
|
||||
\file{\var{package}.pth}; its contents are additional items (one
|
||||
\file{\var{package}.pth} and exists in one of the four directories
|
||||
mentioned above; its contents are additional items (one
|
||||
per line) to be added to \code{sys.path}. Non-existing items are
|
||||
never added to \code{sys.path}, but no check is made that the item
|
||||
refers to a directory (rather than a file). No item is added to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue