summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-06 18:02:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-06 18:02:12 (GMT)
commit0926ad1f05f06233a7595b9f837cc3c5ee5fe46d (patch)
tree7bc723cd73aaaa3557b9da6d4e6ecc979aaa57ec /Doc/library/io.rst
parent3bbbf18a38ad2af62a090692acb6f1299baf9aba (diff)
downloadcpython-0926ad1f05f06233a7595b9f837cc3c5ee5fe46d.zip
cpython-0926ad1f05f06233a7595b9f837cc3c5ee5fe46d.tar.gz
cpython-0926ad1f05f06233a7595b9f837cc3c5ee5fe46d.tar.bz2
give the C implementation of TextIOWrapper the errors property #6217
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index d8a498b..26285b4 100644
--- a/Doc/library/io.rst
+++ b/Doc/library/io.rst
@@ -600,6 +600,10 @@ Text I/O
The name of the encoding used to decode the stream's bytes into
strings, and to encode strings into bytes.
+ .. attribute:: errors
+
+ The error setting of the decoder or encoder.
+
.. attribute:: newlines
A string, a tuple of strings, or ``None``, indicating the newlines
@@ -665,13 +669,9 @@ Text I/O
If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
write contains a newline character.
- :class:`TextIOWrapper` provides these data attributes in addition to those of
+ :class:`TextIOWrapper` provides one attribute in addition to those of
:class:`TextIOBase` and its parents:
- .. attribute:: errors
-
- The encoding and decoding error setting.
-
.. attribute:: line_buffering
Whether line buffering is enabled.