mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fix site module docstring to match the code for Mac OSX, too
This commit is contained in:
parent
3fb55ca80e
commit
f2b16f3eb4
1 changed files with 4 additions and 3 deletions
|
@ -11,9 +11,10 @@ import, this is no longer necessary (but code that does it still
|
||||||
works).
|
works).
|
||||||
|
|
||||||
This will append site-specific paths to the module search path. On
|
This will append site-specific paths to the module search path. On
|
||||||
Unix, it starts with sys.prefix and sys.exec_prefix (if different) and
|
Unix (including Mac OSX), it starts with sys.prefix and
|
||||||
appends lib/python<version>/site-packages as well as lib/site-python.
|
sys.exec_prefix (if different) and appends
|
||||||
On other platforms (mainly Mac and Windows), it tries each of the
|
lib/python<version>/site-packages as well as lib/site-python.
|
||||||
|
On other platforms (such as Windows), it tries each of the
|
||||||
prefixes directly, as well as with lib/site-packages appended. The
|
prefixes directly, as well as with lib/site-packages appended. The
|
||||||
resulting directories, if they exist, are appended to sys.path, and
|
resulting directories, if they exist, are appended to sys.path, and
|
||||||
also inspected for path configuration files.
|
also inspected for path configuration files.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue