[Python-checkins] CVS: python/dist/src/Doc/lib libos.tex,1.53.4.1,1.53.4.2
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 31 May 2001 13:27:20 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv12202/lib
Modified Files:
Tag: release21-maint
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.53.4.1
retrieving revision 1.53.4.2
diff -C2 -r1.53.4.1 -r1.53.4.2
*** libos.tex 2001/05/29 18:14:26 1.53.4.1
--- libos.tex 2001/05/31 20:27:18 1.53.4.2
***************
*** 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}