mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Markup nit.
This commit is contained in:
parent
1a3c2a0ede
commit
23a163454a
1 changed files with 4 additions and 5 deletions
|
|
@ -35,11 +35,10 @@ refers to an existing path.
|
||||||
Return the argument with an initial component of \samp{\~} or
|
Return the argument with an initial component of \samp{\~} or
|
||||||
\samp{\~\var{user}} replaced by that \var{user}'s home directory. An
|
\samp{\~\var{user}} replaced by that \var{user}'s home directory. An
|
||||||
initial \samp{\~{}} is replaced by the environment variable
|
initial \samp{\~{}} is replaced by the environment variable
|
||||||
\code{\${}HOME}; % $ <-- bow to font-lock
|
\envvar{HOME}; an initial \samp{\~\var{user}} is looked up in the
|
||||||
an initial \samp{\~\var{user}} is looked up in the password directory through
|
password directory through the built-in module
|
||||||
the built-in module \module{pwd}\refbimodindex{pwd}. If the expansion
|
\module{pwd}\refbimodindex{pwd}. If the expansion fails, or if the
|
||||||
fails, or if the path does not begin with a tilde, the path is
|
path does not begin with a tilde, the path is returned unchanged.
|
||||||
returned unchanged.
|
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{expandvars}{p}
|
\begin{funcdesc}{expandvars}{p}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue