From f2b16f3eb4ae0bdcf267c49a6c46d230db2fbe23 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Mon, 12 Jun 2006 08:23:02 +0000 Subject: [PATCH] Fix site module docstring to match the code for Mac OSX, too --- Lib/site.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Lib/site.py b/Lib/site.py index a5c39f508c4..de8fc482db0 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.