[Python-checkins] python/dist/src/Doc/lib libsys.tex,1.58,1.59
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 15 Jul 2002 09:08:13 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv5236
Modified Files:
libsys.tex
Log Message:
Clarify that the description of sys.path[0] is only valid upon program
start-up.
Index: libsys.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsys.tex,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** libsys.tex 27 Mar 2002 17:29:50 -0000 1.58
--- libsys.tex 15 Jul 2002 16:08:10 -0000 1.59
***************
*** 283,290 ****
\indexiii{module}{search}{path}
A list of strings that specifies the search path for modules.
! Initialized from the environment variable \envvar{PYTHONPATH}, or an
installation-dependent default.
! The first item of this list, \code{path[0]}, is the directory
containing the script that was used to invoke the Python
interpreter. If the script directory is not available (e.g. if the
--- 283,291 ----
\indexiii{module}{search}{path}
A list of strings that specifies the search path for modules.
! Initialized from the environment variable \envvar{PYTHONPATH}, plus an
installation-dependent default.
! As initialized upon program startup,
! the first item of this list, \code{path[0]}, is the directory
containing the script that was used to invoke the Python
interpreter. If the script directory is not available (e.g. if the
***************
*** 294,297 ****
--- 295,300 ----
that the script directory is inserted \emph{before} the entries
inserted as a result of \envvar{PYTHONPATH}.
+
+ A program is free to modify this list for its own purposes.
\end{datadesc}