]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Documented os.linesep (line separator).
authorGuido van Rossum <guido@python.org>
Tue, 30 Jun 1998 15:54:27 +0000 (15:54 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 30 Jun 1998 15:54:27 +0000 (15:54 +0000)
Doc/lib/libos.tex

index 810e40ce1fa6298993949c8095e2f9d27dc06efa..05ce8b6df27da931257311d47e906bb2f096787d 100644 (file)
@@ -70,6 +70,13 @@ components (as in \code{\$PATH}), e.g.\ \code{':'} for \POSIX{} or
 \code{';'} for MS-DOS.
 \end{datadesc}
 
+\begin{datadesc}{linesep}
+The string used to separate (or, rather, terminate) lines on the
+current platform.  This may be a single character, e.g. \code{'\e n'}
+for \POSIX{} or \code{'\e r'} for MacOS, or multiple characters,
+e.g. \code{'\e r\e n'} for MS-DOS.
+\end{datadesc}
+
 \begin{datadesc}{defpath}
 The default search path used by \code{exec*p*()} if the environment
 doesn't have a \code{'PATH'} key.