the name of the option is a bit too low-level

This commit is contained in:
Benjamin Peterson 2011-03-20 12:24:20 -05:00
parent dbd4efa21f
commit ec5b5cb489
1 changed files with 8 additions and 8 deletions

View File

@ -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