[Python-checkins] cpython (2.7): the name of the option is a bit too low-level

benjamin.peterson python-checkins at python.org
Sun Mar 20 18:22:59 CET 2011


http://hg.python.org/cpython/rev/5c1a91809821
changeset:   68761:5c1a91809821
branch:      2.7
parent:      68697:5ae4f3bbaebe
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Mar 20 12:24:20 2011 -0500
summary:
  the name of the option is a bit too low-level

files:
  Doc/library/stdtypes.rst

diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2535,14 +2535,14 @@
 
 .. 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list