[Python-checkins] r51296 - python/trunk/Lib/site.py
neal.norwitz
python-checkins at python.org
Tue Aug 15 06:59:31 CEST 2006
Author: neal.norwitz
Date: Tue Aug 15 06:59:30 2006
New Revision: 51296
Modified:
python/trunk/Lib/site.py
Log:
Update the docstring to use a version a little newer than 1999. This was
taken from a Debian patch. Should we update the version for each release?
Modified: python/trunk/Lib/site.py
==============================================================================
--- python/trunk/Lib/site.py (original)
+++ python/trunk/Lib/site.py Tue Aug 15 06:59:30 2006
@@ -27,7 +27,7 @@
'#' are skipped. Lines starting with 'import' are executed.
For example, suppose sys.prefix and sys.exec_prefix are set to
-/usr/local and there is a directory /usr/local/lib/python1.5/site-packages
+/usr/local and there is a directory /usr/local/lib/python2.5/site-packages
with three subdirectories, foo, bar and spam, and two path
configuration files, foo.pth and bar.pth. Assume foo.pth contains the
following:
@@ -44,8 +44,8 @@
Then the following directories are added to sys.path, in this order:
- /usr/local/lib/python1.5/site-packages/bar
- /usr/local/lib/python1.5/site-packages/foo
+ /usr/local/lib/python2.5/site-packages/bar
+ /usr/local/lib/python2.5/site-packages/foo
Note that bletch is omitted because it doesn't exist; bar precedes foo
because bar.pth comes alphabetically before foo.pth; and spam is
More information about the Python-checkins
mailing list