diff options
author | Guido van Rossum <guido@python.org> | 1995-03-13 10:03:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-13 10:03:32 (GMT) |
commit | 6bb1adc7ee688be85b839b747cf25a9e6254cc22 (patch) | |
tree | 8cb910de69fa0322275e60763bfc93a1ea12386f /Doc/lib/libppath.tex | |
parent | a8a8d4aadd49e3776e2212318331105c939974b4 (diff) | |
download | cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.zip cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.tar.gz cpython-6bb1adc7ee688be85b839b747cf25a9e6254cc22.tar.bz2 |
small changes by Soren Larsen
Diffstat (limited to 'Doc/lib/libppath.tex')
-rw-r--r-- | Doc/lib/libppath.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 731d344..c7c2b63 100644 --- a/Doc/lib/libppath.tex +++ b/Doc/lib/libppath.tex @@ -48,13 +48,13 @@ Return true if \var{p} is an absolute pathname (begins with a slash). \begin{funcdesc}{isfile}{p} Return true if \var{p} is an existing regular file. This follows -symbolic links, so both islink() and isfile() can be true for the same +symbolic links, so both \code{islink()} and \code{isfile()} can be true for the same path. \end{funcdesc} \begin{funcdesc}{isdir}{p} Return true if \var{p} is an existing directory. This follows -symbolic links, so both islink() and isdir() can be true for the same +symbolic links, so both \code{islink()} and \code{isdir()} can be true for the same path. \end{funcdesc} @@ -109,7 +109,7 @@ everything leading up to that. If \var{p} ends in a slash (except if it is the root), the trailing slash is removed and the operation applied to the result; otherwise, \code{join(\var{head}, \var{tail})} equals \var{p}. The \var{tail} part never contains a slash. Some boundary -cases: if \var{p} is the root, \var{head} equals \var{p} and +cases:\ if \var{p} is the root, \var{head} equals \var{p} and \var{tail} is empty; if \var{p} is empty, both \var{head} and \var{tail} are empty; if \var{p} contains no slash, \var{head} is empty and \var{tail} equals \var{p}. |