From ec5b5cb489e512e249a9eaba185d6d417393e994 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 20 Mar 2011 12:24:20 -0500 Subject: [PATCH] the name of the option is a bit too low-level --- Doc/library/stdtypes.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 77c2da7e662..da5db1d13b5 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2535,14 +2535,14 @@ the particular object. .. attribute:: file.newlines - If Python was built with the :option:`--with-universal-newlines` option to - :program:`configure` (the default) this read-only attribute exists, and for - files opened in universal newline read mode it keeps track of the types of - newlines encountered while reading the file. The values it can take are - ``'\r'``, ``'\n'``, ``'\r\n'``, ``None`` (unknown, no newlines read yet) or a - tuple containing all the newline types seen, to indicate that multiple newline - conventions were encountered. For files not opened in universal newline read - mode the value of this attribute will be ``None``. + If Python was built with universal newlines enabled (the default) this + read-only attribute exists, and for files opened in universal newline read + mode it keeps track of the types of newlines encountered while reading the + file. The values it can take are ``'\r'``, ``'\n'``, ``'\r\n'``, ``None`` + (unknown, no newlines read yet) or a tuple containing all the newline types + seen, to indicate that multiple newline conventions were encountered. For + files not opened in universal newline read mode the value of this attribute + will be ``None``. .. attribute:: file.softspace