Kaydet (Commit) e184cfd7 authored tarafından Pablo Galindo's avatar Pablo Galindo Kaydeden (comit) Berker Peksag

bpo-31824: Document default value of 'errors' parameters (GH-4328)

üst 9703f092
...@@ -802,7 +802,7 @@ The design is such that one can use the factory functions returned by the ...@@ -802,7 +802,7 @@ The design is such that one can use the factory functions returned by the
:func:`lookup` function to construct the instance. :func:`lookup` function to construct the instance.
.. class:: StreamReaderWriter(stream, Reader, Writer, errors) .. class:: StreamReaderWriter(stream, Reader, Writer, errors='strict')
Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like
object. *Reader* and *Writer* must be factory functions or classes providing the object. *Reader* and *Writer* must be factory functions or classes providing the
...@@ -826,7 +826,7 @@ The design is such that one can use the factory functions returned by the ...@@ -826,7 +826,7 @@ The design is such that one can use the factory functions returned by the
:func:`lookup` function to construct the instance. :func:`lookup` function to construct the instance.
.. class:: StreamRecoder(stream, encode, decode, Reader, Writer, errors) .. class:: StreamRecoder(stream, encode, decode, Reader, Writer, errors='strict')
Creates a :class:`StreamRecoder` instance which implements a two-way conversion: Creates a :class:`StreamRecoder` instance which implements a two-way conversion:
*encode* and *decode* work on the frontend — the data visible to *encode* and *decode* work on the frontend — the data visible to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment