summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-14 15:16:12 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-14 15:16:12 (GMT)
commit203b4f1a25f284977aa58a37fa73e0a07cfe9ad2 (patch)
tree6f84530cba6a9bf32fe0e59a58c86c6bffbfd707
parentfa1fb7df31bf1c9a892a53ccaaabee72d4a0bd6d (diff)
downloadcpython-203b4f1a25f284977aa58a37fa73e0a07cfe9ad2.zip
cpython-203b4f1a25f284977aa58a37fa73e0a07cfe9ad2.tar.gz
cpython-203b4f1a25f284977aa58a37fa73e0a07cfe9ad2.tar.bz2
Add an index entry.
Bow to font lock.
-rw-r--r--Doc/lib/libppath.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex
index 86b5a34..728fe36 100644
--- a/Doc/lib/libppath.tex
+++ b/Doc/lib/libppath.tex
@@ -5,9 +5,9 @@
This module implements some useful functions on \POSIX{} pathnames.
\strong{Do not import this module directly.} Instead, import the
-module \module{os} and use \code{os.path}.
-\refstmodindex{os}
+module \module{os}\refstmodindex{os} and use \code{os.path}.
+\index{path!operations}
\begin{funcdesc}{basename}{p}
Return the base name of pathname
@@ -33,7 +33,8 @@ refers to an existing path.
\begin{funcdesc}{expanduser}{p}
Return the argument with an initial component of \samp{\~} or
\samp{\~\var{user}} replaced by that \var{user}'s home directory. An
-initial \samp{\~{}} is replaced by the environment variable \code{\${}HOME};
+initial \samp{\~{}} is replaced by the environment variable
+\code{\${}HOME}; % $ <-- bow to font-lock
an initial \samp{\~\var{user}} is looked up in the password directory through
the built-in module \module{pwd}\refbimodindex{pwd}. If the expansion
fails, or if the path does not begin with a tilde, the path is