summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-02-14 19:35:31 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-02-14 19:35:31 (GMT)
commit117910dc445a2262bd96bbfefaf43714ae59c11b (patch)
tree9dfb082f3e2975d50277035df0c3e8db70dbce7b /Doc/lib/libos.tex
parent4507ec70cff35468f4b1767382f38ecebd4a29a2 (diff)
downloadcpython-117910dc445a2262bd96bbfefaf43714ae59c11b.zip
cpython-117910dc445a2262bd96bbfefaf43714ae59c11b.tar.gz
cpython-117910dc445a2262bd96bbfefaf43714ae59c11b.tar.bz2
Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 8f13e0e..b2c10f7 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -1620,12 +1620,14 @@ Higher-level operations on pathnames are defined in the
The constant string used by the operating system to refer to the current
directory.
For example: \code{'.'} for \POSIX{} or \code{':'} for the Macintosh.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{pardir}
The constant string used by the operating system to refer to the parent
directory.
For example: \code{'..'} for \POSIX{} or \code{'::'} for the Macintosh.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{sep}
@@ -1634,6 +1636,7 @@ for example, \character{/} for \POSIX{} or \character{:} for the
Macintosh. Note that knowing this is not sufficient to be able to
parse or concatenate pathnames --- use \function{os.path.split()} and
\function{os.path.join()} --- but it is occasionally useful.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{altsep}
@@ -1641,11 +1644,13 @@ An alternative character used by the operating system to separate pathname
components, or \code{None} if only one separator character exists. This is
set to \character{/} on Windows systems where \code{sep} is a
backslash.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{extsep}
The character which separates the base filename from the extension;
for example, the \character{.} in \file{os.py}.
+Also available via \module{os.path}.
\versionadded{2.2}
\end{datadesc}
@@ -1653,12 +1658,14 @@ for example, the \character{.} in \file{os.py}.
The character conventionally used by the operating system to separate
search patch components (as in \envvar{PATH}), such as \character{:} for
\POSIX{} or \character{;} for Windows.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{defpath}
The default search path used by \function{exec*p*()} and
\function{spawn*p*()} if the environment doesn't have a \code{'PATH'}
key.
+Also available via \module{os.path}.
\end{datadesc}
\begin{datadesc}{linesep}