diff options
author | Guido van Rossum <guido@python.org> | 1994-04-21 10:32:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-04-21 10:32:28 (GMT) |
commit | 1738311dab01da9ed884bd3d9622ead932fc6905 (patch) | |
tree | 118f885798272629ccfd24e0611bc7d1e274d23e /Doc/libppath.tex | |
parent | 590b289672f340f2d122c6d75f195949213974e8 (diff) | |
download | cpython-1738311dab01da9ed884bd3d9622ead932fc6905.zip cpython-1738311dab01da9ed884bd3d9622ead932fc6905.tar.gz cpython-1738311dab01da9ed884bd3d9622ead932fc6905.tar.bz2 |
Documented new built-in function vars().
Documented new formatting features: %s takes any type, and
'%(key)format' % dictionary.
Documented posixpath.expandvars().
Diffstat (limited to 'Doc/libppath.tex')
-rw-r--r-- | Doc/libppath.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/libppath.tex b/Doc/libppath.tex index e6430be..731d344 100644 --- a/Doc/libppath.tex +++ b/Doc/libppath.tex @@ -34,6 +34,14 @@ the built-in module \code{pwd}. If the expansion fails, or if the path does not begin with a tilde, the path is returned unchanged. \end{funcdesc} +\begin{funcdesc}{expandvars}{p} +Return the argument with environment variables expanded. Substrings +of the form \samp{\$\var{name}} or \samp{\$\{\var{name}\}} are +replaced by the value of environment variable \var{name}. Malformed +variable names and references to non-existing variables are left +unchanged. +\end{funcdesc} + \begin{funcdesc}{isabs}{p} Return true if \var{p} is an absolute pathname (begins with a slash). \end{funcdesc} |