mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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?
This commit is contained in:
parent
b476fdf7c3
commit
6e482569c8
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ sys.path more than once. Blank lines and lines beginning with
|
|||
'#' 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 @@ and bar.pth contains:
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue