mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
parent
c19f39272e
commit
81e142b907
1 changed files with 7 additions and 0 deletions
|
|
@ -166,6 +166,13 @@ Return the current process' user id.
|
|||
Availability: \UNIX{}.
|
||||
\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}
|
||||
Set the environment variable named \var{varname} to the string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue