Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libos.tex @ 27897:cf1efca82b18 legacy-trunk
Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
| author | Skip Montanaro <skip@pobox.com> |
|---|---|
| date | Fri, 14 Feb 2003 19:35:31 +0000 |
| parents | e7d59db6839a |
| children | 12d4df71bdaa |
line wrap: on
line diff
--- a/Doc/lib/libos.tex Fri Feb 14 19:29:22 2003 +0000 +++ b/Doc/lib/libos.tex Fri Feb 14 19:35:31 2003 +0000 @@ -1620,12 +1620,14 @@ 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 @@ 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 @@ 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 @@ 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}
