summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libposixpath.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-11-28 07:26:15 (GMT)
committerFred Drake <fdrake@acm.org>2001-11-28 07:26:15 (GMT)
commitc37b65ee106352c00ab1615b2bac0a5b9a720137 (patch)
tree974c5881da81256b67ad9879435c80c2c739a83e /Doc/lib/libposixpath.tex
parent00859c053857437b635ba9e813f46e884f3aecb4 (diff)
downloadcpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.zip
cpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.tar.gz
cpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.tar.bz2
Clean up some markup cruft. A number of the macros that take no
parameters (like \UNIX) are commonly entered using an empty group to separate the markup from a following inter-word space; this is not needed when the next character is punctuation, or the markup is the last thing in the enclosing group. These cases were marked inconsistently; the empty group is now *only* used when needed.
Diffstat (limited to 'Doc/lib/libposixpath.tex')
-rw-r--r--Doc/lib/libposixpath.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index 1a5fd88..a59b5a7 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -127,7 +127,7 @@ inserted between components, unless \var{path} is empty.
\end{funcdesc}
\begin{funcdesc}{normcase}{path}
-Normalize the case of a pathname. On \UNIX{}, this returns the path
+Normalize the case of a pathname. On \UNIX, this returns the path
unchanged; on case-insensitive filesystems, it converts the path to
lowercase. On Windows, it also converts forward slashes to backward
slashes.
@@ -144,7 +144,7 @@ forward slashes to backward slashes.
\begin{funcdesc}{realpath}{path}
Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path.
-Availability: \UNIX{}.
+Availability: \UNIX.
\versionadded{2.2}
\end{funcdesc}
@@ -153,14 +153,14 @@ Return true if both pathname arguments refer to the same file or
directory (as indicated by device number and i-node number).
Raise an exception if a \function{os.stat()} call on either pathname
fails.
-Availability: Macintosh, \UNIX{}.
+Availability: Macintosh, \UNIX.
\end{funcdesc}
\begin{funcdesc}{sameopenfile}{fp1, fp2}
Return true if the file objects \var{fp1} and \var{fp2} refer to the
same file. The two file objects may represent different file
descriptors.
-Availability: Macintosh, \UNIX{}.
+Availability: Macintosh, \UNIX.
\end{funcdesc}
\begin{funcdesc}{samestat}{stat1, stat2}
@@ -169,7 +169,7 @@ the same file. These structures may have been returned by
\function{fstat()}, \function{lstat()}, or \function{stat()}. This
function implements the underlying comparison used by
\function{samefile()} and \function{sameopenfile()}.
-Availability: Macintosh, \UNIX{}.
+Availability: Macintosh, \UNIX.
\end{funcdesc}
\begin{funcdesc}{split}{path}