summaryrefslogtreecommitdiff
path: root/Doc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 7844028a62..18c51229e8 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -1973,9 +1973,12 @@ Also available via \module{os.path}.
\begin{datadesc}{linesep}
The string used to separate (or, rather, terminate) lines on the
-current platform. This may be a single character, such as \code{'\e
-n'} for \POSIX{} or \code{'\e r'} for Mac OS, or multiple characters,
-for example, \code{'\e r\e n'} for Windows.
+current platform. This may be a single character, such as
+\code{'\e n'} for \POSIX{} or \code{'\e r'} for Mac OS, or multiple
+characters, for example, \code{'\e r\e n'} for Windows.
+Do not use \var{os.linesep} as a line terminator when writing files
+opened in text mode (the default); use a single \code{'\e n'} instead,
+on all platforms.
\end{datadesc}
\begin{datadesc}{devnull}