[Python-checkins] CVS: python/dist/src/Doc/lib libos.tex,1.54,1.55
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 31 May 2001 13:27:48 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv12347/lib
Modified Files:
libos.tex
Log Message:
Document os.getenv().
This closes SF bug #429059.
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -r1.54 -r1.55
*** libos.tex 2001/05/29 18:13:06 1.54
--- libos.tex 2001/05/31 20:27:46 1.55
***************
*** 167,170 ****
--- 167,177 ----
\end{funcdesc}
+ \begin{funcdesc}{getenv}{varname\optional{, value}}
+ Return the value of the environment variable \var{varname} if it
+ exists, or \var{value} if it doesn't. \var{value} defaults to
+ \code{None}.
+ Availability: most flavors of \UNIX{}, Windows.
+ \end{funcdesc}
+
\begin{funcdesc}{putenv}{varname, value}
\index{environment variables!setting}