diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-09 20:27:12 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-09 20:27:12 (GMT) |
commit | 65b32f7f7448ae9a5f8cf3500ee7e127aa740b77 (patch) | |
tree | cd0dd6be021dc851faca8f2f7a9a33420c2c3834 /Doc | |
parent | 41785fb8644b66f4f17e292e9f96e870ae8b2764 (diff) | |
download | cpython-65b32f7f7448ae9a5f8cf3500ee7e127aa740b77.zip cpython-65b32f7f7448ae9a5f8cf3500ee7e127aa740b77.tar.gz cpython-65b32f7f7448ae9a5f8cf3500ee7e127aa740b77.tar.bz2 |
Consistently use \POSIX{} to denote POSIX. There were at least two different
ways to do it previously (not counting module names).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libamoeba.tex | 2 | ||||
-rw-r--r-- | Doc/lib/liblocale.tex | 6 | ||||
-rw-r--r-- | Doc/lib/libnntplib.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libos.tex | 16 | ||||
-rw-r--r-- | Doc/lib/libposix.tex | 10 | ||||
-rw-r--r-- | Doc/lib/libppath.tex | 4 | ||||
-rw-r--r-- | Doc/lib/libtermios.tex | 12 | ||||
-rw-r--r-- | Doc/lib/libthread.tex | 2 | ||||
-rw-r--r-- | Doc/lib/libunix.tex | 6 | ||||
-rw-r--r-- | Doc/libamoeba.tex | 2 | ||||
-rw-r--r-- | Doc/liblocale.tex | 6 | ||||
-rw-r--r-- | Doc/libnntplib.tex | 2 | ||||
-rw-r--r-- | Doc/libos.tex | 16 | ||||
-rw-r--r-- | Doc/libposix.tex | 10 | ||||
-rw-r--r-- | Doc/libppath.tex | 4 | ||||
-rw-r--r-- | Doc/libtermios.tex | 12 | ||||
-rw-r--r-- | Doc/libthread.tex | 2 | ||||
-rw-r--r-- | Doc/libunix.tex | 6 |
18 files changed, 60 insertions, 60 deletions
diff --git a/Doc/lib/libamoeba.tex b/Doc/lib/libamoeba.tex index 1f7015f..747c5f3 100644 --- a/Doc/lib/libamoeba.tex +++ b/Doc/lib/libamoeba.tex @@ -119,7 +119,7 @@ Returns the standard info string of the object. \end{funcdesc} \begin{funcdesc}{tod_gettime}{} -Returns the time (in seconds since the Epoch, in UCT, as for POSIX) from +Returns the time (in seconds since the Epoch, in UCT, as for \POSIX{}) from a time server. \end{funcdesc} diff --git a/Doc/lib/liblocale.tex b/Doc/lib/liblocale.tex index 602988b..a0ecf39 100644 --- a/Doc/lib/liblocale.tex +++ b/Doc/lib/liblocale.tex @@ -3,9 +3,9 @@ \label{module-locale} -The \code{locale} module opens access to the POSIX locale database and -functionality. The POSIX locale mechanism allows applications to -integrate certain cultural aspects into an applications, without +The \code{locale} module opens access to the \POSIX{} locale database +and functionality. The \POSIX{} locale mechanism allows applications +to integrate certain cultural aspects into an applications, without requiring the programmer to know all the specifics of each country where the software is executed. diff --git a/Doc/lib/libnntplib.tex b/Doc/lib/libnntplib.tex index b721efb..c2d470a 100644 --- a/Doc/lib/libnntplib.tex +++ b/Doc/lib/libnntplib.tex @@ -32,7 +32,7 @@ Group comp.lang.python has 59 articles, range 3742 to 3803 3798 Re: a few questions about the Mac implementation 3799 Re: PROPOSAL: A Generic Python Object Interface for Python C Modules 3802 Re: executable python scripts -3803 Re: POSIX wait and SIGCHLD +3803 Re: \POSIX{} wait and SIGCHLD >>> s.quit() '205 news.cwi.nl closing connection. Goodbye.' >>> diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 1853b3f..763d2f3 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -13,7 +13,7 @@ exports the same functions and data as found there. The design of all Python's built-in OS dependent modules is such that as long as the same functionality is available, it uses the same interface; e.g., the function \code{os.stat(\var{file})} returns stat info about a \var{file} in a -format compatible with the POSIX interface. +format compatible with the \POSIX{} interface. Extensions peculiar to a particular OS are also available through the \code{os} module, but using them is of course a threat to portability! @@ -43,20 +43,20 @@ more portable than \code{posixpath.split(\var{file})}. \begin{datadesc}{curdir} The constant string used by the OS to refer to the current directory, -e.g. \code{'.'} for POSIX or \code{':'} for the Mac. +e.g. \code{'.'} for \POSIX{} or \code{':'} for the Mac. \end{datadesc} \begin{datadesc}{pardir} The constant string used by the OS to refer to the parent directory, -e.g. \code{'..'} for POSIX or \code{'::'} for the Mac. +e.g. \code{'..'} for \POSIX{} or \code{'::'} for the Mac. \end{datadesc} \begin{datadesc}{sep} The character used by the OS to separate pathname components, -e.g. \code{'/'} for POSIX or \code{':'} for the Mac. Note that knowing this -is not sufficient to be able to parse or concatenate pathnames---better -use \code{os.path.split()} and \code{os.path.join()}---but it is -occasionally useful. +e.g. \code{'/'} for \POSIX{} or \code{':'} for the Mac. Note that +knowing this is not sufficient to be able to parse or concatenate +pathnames --- better use \code{os.path.split()} and +\code{os.path.join()}---but it is occasionally useful. \end{datadesc} \begin{datadesc}{altsep} @@ -67,7 +67,7 @@ or \code{None} if only one separator character exists. This is set to \begin{datadesc}{pathsep} The character conventionally used by the OS to separate search patch -components (as in \code{\$PATH}), e.g.\ \code{':'} for POSIX or +components (as in \code{\$PATH}), e.g.\ \code{':'} for \POSIX{} or \code{';'} for MS-DOS. \end{datadesc} diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex index 803cbbc..ddd467b 100644 --- a/Doc/lib/libposix.tex +++ b/Doc/lib/libposix.tex @@ -3,7 +3,7 @@ \bimodindex{posix} This module provides access to operating system functionality that is -standardized by the C Standard and the POSIX standard (a thinly disguised +standardized by the C Standard and the \POSIX{} standard (a thinly disguised \UNIX{} interface). \strong{Do not import this module directly.} Instead, import the @@ -19,7 +19,7 @@ when an entry is \code{os.environ} is changed. \refstmodindex{os} The descriptions below are very terse; refer to the corresponding -\UNIX{} manual (or POSIX documentation) entry for more information. +\UNIX{} manual (or \POSIX{} documentation) entry for more information. Arguments called \var{path} refer to a pathname given as a string. Errors are reported as exceptions; the usual exceptions are given @@ -52,8 +52,8 @@ a mapping object that behaves almost like a dictionary but invokes \renewcommand{\indexsubitem}{(exception in module posix)} \begin{excdesc}{error} -This exception is raised when a POSIX function returns a -POSIX-related error (e.g., not for illegal argument types). Its +This exception is raised when a \POSIX{} function returns a +\POSIX{}-related error (e.g., not for illegal argument types). Its string value is \code{'posix.error'}. The accompanying value is a pair containing the numeric error code from \code{errno} and the corresponding string, as would be printed by the C function @@ -214,7 +214,7 @@ without symbolic links, this is identical to \code{posix.stat()}.) \end{funcdesc} \begin{funcdesc}{mkfifo}{path\optional{\, mode}} -Create a FIFO (a POSIX named pipe) named \var{path} with numeric mode +Create a FIFO (a \POSIX{} named pipe) named \var{path} with numeric mode \var{mode}. The default \var{mode} is 0666 (octal). The current umask value is first masked out from the mode. (Not on MS-DOS.) diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 01f05a1..5298012 100644 --- a/Doc/lib/libppath.tex +++ b/Doc/lib/libppath.tex @@ -2,7 +2,7 @@ \label{module-posixpath} \stmodindex{posixpath} -This module implements some useful functions on POSIX pathnames. +This module implements some useful functions on \POSIX{} pathnames. \strong{Do not import this module directly.} Instead, import the module \code{os} and use \code{os.path}. @@ -78,7 +78,7 @@ file system where a different file system has been mounted. The function checks whether \var{p}'s parent, \file{\var{p}/..}, is on a different device than \var{p}, or whether \file{\var{p}/..} and \var{p} point to the same i-node on the same device --- this should -detect mount points for all \UNIX{} and POSIX variants. +detect mount points for all \UNIX{} and \POSIX{} variants. \end{funcdesc} \begin{funcdesc}{join}{p\optional{\, q\optional{\, ...}}} diff --git a/Doc/lib/libtermios.tex b/Doc/lib/libtermios.tex index 1db8af8..afdd141 100644 --- a/Doc/lib/libtermios.tex +++ b/Doc/lib/libtermios.tex @@ -1,15 +1,15 @@ \section{Built-in Module \sectcode{termios}} \label{module-termios} \bimodindex{termios} -\indexii{Posix}{I/O control} +\indexii{\POSIX{}}{I/O control} \indexii{tty}{I/O control} \renewcommand{\indexsubitem}{(in module termios)} -This module provides an interface to the Posix calls for tty I/O -control. For a complete description of these calls, see the Posix or +This module provides an interface to the \POSIX{} calls for tty I/O +control. For a complete description of these calls, see the \POSIX{} or \UNIX{} manual pages. It is only available for those \UNIX{} versions -that support Posix \code{termios} style tty I/O control (and then +that support \POSIX{} \code{termios} style tty I/O control (and then only if configured at installation time). All functions in this module take a file descriptor \var{fd} as their @@ -94,13 +94,13 @@ def getpass(prompt = "Password: "): % \section{Standard Module \sectcode{TERMIOS}} \stmodindex{TERMIOS} -\indexii{Posix}{I/O control} +\indexii{\POSIX{}}{I/O control} \indexii{tty}{I/O control} \renewcommand{\indexsubitem}{(in module TERMIOS)} This module defines the symbolic constants required to use the -\code{termios} module (see the previous section). See the Posix or +\code{termios} module (see the previous section). See the \POSIX{} or \UNIX{} manual pages (or the source) for a list of those constants. \refbimodindex{termios} diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex index fcee360..911c145 100644 --- a/Doc/lib/libthread.tex +++ b/Doc/lib/libthread.tex @@ -13,7 +13,7 @@ semaphores}) are provided. \index{semaphores, binary} The module is optional. It is supported on Windows NT and '95, SGI -IRIX, Solaris 2.x, as well as on systems that have a POSIX thread +IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread (a.k.a. ``pthread'') implementation. \index{pthreads} \indexii{threads}{posix} diff --git a/Doc/lib/libunix.tex b/Doc/lib/libunix.tex index 05db4a9..9e1ea53 100644 --- a/Doc/lib/libunix.tex +++ b/Doc/lib/libunix.tex @@ -7,10 +7,10 @@ some or many variants of it. Here's an overview: \begin{description} \item[posix] ---- The most common Posix system calls (normally used via module \code{os}). +--- The most common \POSIX{} system calls (normally used via module \code{os}). \item[posixpath] ---- Common Posix pathname manipulations (normally used via \code{os.path}). +--- Common \POSIX{} pathname manipulations (normally used via \code{os.path}). \item[pwd] --- The password database (\code{getpwnam()} and friends). @@ -28,7 +28,7 @@ some or many variants of it. Here's an overview: --- GNU's reinterpretation of dbm. \item[termios] ---- Posix style tty control. +--- \POSIX{} style tty control. \item[TERMIOS] --- The symbolic constants required to use the \code{termios} module. diff --git a/Doc/libamoeba.tex b/Doc/libamoeba.tex index 1f7015f..747c5f3 100644 --- a/Doc/libamoeba.tex +++ b/Doc/libamoeba.tex @@ -119,7 +119,7 @@ Returns the standard info string of the object. \end{funcdesc} \begin{funcdesc}{tod_gettime}{} -Returns the time (in seconds since the Epoch, in UCT, as for POSIX) from +Returns the time (in seconds since the Epoch, in UCT, as for \POSIX{}) from a time server. \end{funcdesc} diff --git a/Doc/liblocale.tex b/Doc/liblocale.tex index 602988b..a0ecf39 100644 --- a/Doc/liblocale.tex +++ b/Doc/liblocale.tex @@ -3,9 +3,9 @@ \label{module-locale} -The \code{locale} module opens access to the POSIX locale database and -functionality. The POSIX locale mechanism allows applications to -integrate certain cultural aspects into an applications, without +The \code{locale} module opens access to the \POSIX{} locale database +and functionality. The \POSIX{} locale mechanism allows applications +to integrate certain cultural aspects into an applications, without requiring the programmer to know all the specifics of each country where the software is executed. diff --git a/Doc/libnntplib.tex b/Doc/libnntplib.tex index b721efb..c2d470a 100644 --- a/Doc/libnntplib.tex +++ b/Doc/libnntplib.tex @@ -32,7 +32,7 @@ Group comp.lang.python has 59 articles, range 3742 to 3803 3798 Re: a few questions about the Mac implementation 3799 Re: PROPOSAL: A Generic Python Object Interface for Python C Modules 3802 Re: executable python scripts -3803 Re: POSIX wait and SIGCHLD +3803 Re: \POSIX{} wait and SIGCHLD >>> s.quit() '205 news.cwi.nl closing connection. Goodbye.' >>> diff --git a/Doc/libos.tex b/Doc/libos.tex index 1853b3f..763d2f3 100644 --- a/Doc/libos.tex +++ b/Doc/libos.tex @@ -13,7 +13,7 @@ exports the same functions and data as found there. The design of all Python's built-in OS dependent modules is such that as long as the same functionality is available, it uses the same interface; e.g., the function \code{os.stat(\var{file})} returns stat info about a \var{file} in a -format compatible with the POSIX interface. +format compatible with the \POSIX{} interface. Extensions peculiar to a particular OS are also available through the \code{os} module, but using them is of course a threat to portability! @@ -43,20 +43,20 @@ more portable than \code{posixpath.split(\var{file})}. \begin{datadesc}{curdir} The constant string used by the OS to refer to the current directory, -e.g. \code{'.'} for POSIX or \code{':'} for the Mac. +e.g. \code{'.'} for \POSIX{} or \code{':'} for the Mac. \end{datadesc} \begin{datadesc}{pardir} The constant string used by the OS to refer to the parent directory, -e.g. \code{'..'} for POSIX or \code{'::'} for the Mac. +e.g. \code{'..'} for \POSIX{} or \code{'::'} for the Mac. \end{datadesc} \begin{datadesc}{sep} The character used by the OS to separate pathname components, -e.g. \code{'/'} for POSIX or \code{':'} for the Mac. Note that knowing this -is not sufficient to be able to parse or concatenate pathnames---better -use \code{os.path.split()} and \code{os.path.join()}---but it is -occasionally useful. +e.g. \code{'/'} for \POSIX{} or \code{':'} for the Mac. Note that +knowing this is not sufficient to be able to parse or concatenate +pathnames --- better use \code{os.path.split()} and +\code{os.path.join()}---but it is occasionally useful. \end{datadesc} \begin{datadesc}{altsep} @@ -67,7 +67,7 @@ or \code{None} if only one separator character exists. This is set to \begin{datadesc}{pathsep} The character conventionally used by the OS to separate search patch -components (as in \code{\$PATH}), e.g.\ \code{':'} for POSIX or +components (as in \code{\$PATH}), e.g.\ \code{':'} for \POSIX{} or \code{';'} for MS-DOS. \end{datadesc} diff --git a/Doc/libposix.tex b/Doc/libposix.tex index 803cbbc..ddd467b 100644 --- a/Doc/libposix.tex +++ b/Doc/libposix.tex @@ -3,7 +3,7 @@ \bimodindex{posix} This module provides access to operating system functionality that is -standardized by the C Standard and the POSIX standard (a thinly disguised +standardized by the C Standard and the \POSIX{} standard (a thinly disguised \UNIX{} interface). \strong{Do not import this module directly.} Instead, import the @@ -19,7 +19,7 @@ when an entry is \code{os.environ} is changed. \refstmodindex{os} The descriptions below are very terse; refer to the corresponding -\UNIX{} manual (or POSIX documentation) entry for more information. +\UNIX{} manual (or \POSIX{} documentation) entry for more information. Arguments called \var{path} refer to a pathname given as a string. Errors are reported as exceptions; the usual exceptions are given @@ -52,8 +52,8 @@ a mapping object that behaves almost like a dictionary but invokes \renewcommand{\indexsubitem}{(exception in module posix)} \begin{excdesc}{error} -This exception is raised when a POSIX function returns a -POSIX-related error (e.g., not for illegal argument types). Its +This exception is raised when a \POSIX{} function returns a +\POSIX{}-related error (e.g., not for illegal argument types). Its string value is \code{'posix.error'}. The accompanying value is a pair containing the numeric error code from \code{errno} and the corresponding string, as would be printed by the C function @@ -214,7 +214,7 @@ without symbolic links, this is identical to \code{posix.stat()}.) \end{funcdesc} \begin{funcdesc}{mkfifo}{path\optional{\, mode}} -Create a FIFO (a POSIX named pipe) named \var{path} with numeric mode +Create a FIFO (a \POSIX{} named pipe) named \var{path} with numeric mode \var{mode}. The default \var{mode} is 0666 (octal). The current umask value is first masked out from the mode. (Not on MS-DOS.) diff --git a/Doc/libppath.tex b/Doc/libppath.tex index 01f05a1..5298012 100644 --- a/Doc/libppath.tex +++ b/Doc/libppath.tex @@ -2,7 +2,7 @@ \label{module-posixpath} \stmodindex{posixpath} -This module implements some useful functions on POSIX pathnames. +This module implements some useful functions on \POSIX{} pathnames. \strong{Do not import this module directly.} Instead, import the module \code{os} and use \code{os.path}. @@ -78,7 +78,7 @@ file system where a different file system has been mounted. The function checks whether \var{p}'s parent, \file{\var{p}/..}, is on a different device than \var{p}, or whether \file{\var{p}/..} and \var{p} point to the same i-node on the same device --- this should -detect mount points for all \UNIX{} and POSIX variants. +detect mount points for all \UNIX{} and \POSIX{} variants. \end{funcdesc} \begin{funcdesc}{join}{p\optional{\, q\optional{\, ...}}} diff --git a/Doc/libtermios.tex b/Doc/libtermios.tex index 1db8af8..afdd141 100644 --- a/Doc/libtermios.tex +++ b/Doc/libtermios.tex @@ -1,15 +1,15 @@ \section{Built-in Module \sectcode{termios}} \label{module-termios} \bimodindex{termios} -\indexii{Posix}{I/O control} +\indexii{\POSIX{}}{I/O control} \indexii{tty}{I/O control} \renewcommand{\indexsubitem}{(in module termios)} -This module provides an interface to the Posix calls for tty I/O -control. For a complete description of these calls, see the Posix or +This module provides an interface to the \POSIX{} calls for tty I/O +control. For a complete description of these calls, see the \POSIX{} or \UNIX{} manual pages. It is only available for those \UNIX{} versions -that support Posix \code{termios} style tty I/O control (and then +that support \POSIX{} \code{termios} style tty I/O control (and then only if configured at installation time). All functions in this module take a file descriptor \var{fd} as their @@ -94,13 +94,13 @@ def getpass(prompt = "Password: "): % \section{Standard Module \sectcode{TERMIOS}} \stmodindex{TERMIOS} -\indexii{Posix}{I/O control} +\indexii{\POSIX{}}{I/O control} \indexii{tty}{I/O control} \renewcommand{\indexsubitem}{(in module TERMIOS)} This module defines the symbolic constants required to use the -\code{termios} module (see the previous section). See the Posix or +\code{termios} module (see the previous section). See the \POSIX{} or \UNIX{} manual pages (or the source) for a list of those constants. \refbimodindex{termios} diff --git a/Doc/libthread.tex b/Doc/libthread.tex index fcee360..911c145 100644 --- a/Doc/libthread.tex +++ b/Doc/libthread.tex @@ -13,7 +13,7 @@ semaphores}) are provided. \index{semaphores, binary} The module is optional. It is supported on Windows NT and '95, SGI -IRIX, Solaris 2.x, as well as on systems that have a POSIX thread +IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread (a.k.a. ``pthread'') implementation. \index{pthreads} \indexii{threads}{posix} diff --git a/Doc/libunix.tex b/Doc/libunix.tex index 05db4a9..9e1ea53 100644 --- a/Doc/libunix.tex +++ b/Doc/libunix.tex @@ -7,10 +7,10 @@ some or many variants of it. Here's an overview: \begin{description} \item[posix] ---- The most common Posix system calls (normally used via module \code{os}). +--- The most common \POSIX{} system calls (normally used via module \code{os}). \item[posixpath] ---- Common Posix pathname manipulations (normally used via \code{os.path}). +--- Common \POSIX{} pathname manipulations (normally used via \code{os.path}). \item[pwd] --- The password database (\code{getpwnam()} and friends). @@ -28,7 +28,7 @@ some or many variants of it. Here's an overview: --- GNU's reinterpretation of dbm. \item[termios] ---- Posix style tty control. +--- \POSIX{} style tty control. \item[TERMIOS] --- The symbolic constants required to use the \code{termios} module. |