From: Nick Coghlan Date: Mon, 12 Jun 2006 08:23:02 +0000 (+0000) Subject: Fix site module docstring to match the code for Mac OSX, too X-Git-Tag: v2.5b1~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2b16f3eb4ae0bdcf267c49a6c46d230db2fbe23;p=python Fix site module docstring to match the code for Mac OSX, too --- diff --git a/Lib/site.py b/Lib/site.py index a5c39f508c..de8fc482db 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -11,9 +11,10 @@ import, this is no longer necessary (but code that does it still works). 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 -appends lib/python/site-packages as well as lib/site-python. -On other platforms (mainly Mac and Windows), it tries each of the +Unix (including Mac OSX), it starts with sys.prefix and +sys.exec_prefix (if different) and appends +lib/python/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 resulting directories, if they exist, are appended to sys.path, and also inspected for path configuration files.