Skip to content

Commit

Permalink
bpo-31824: Document default value of 'errors' parameters (GH-4328)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal authored and berkerpeksag committed Nov 10, 2017
1 parent 9703f09 commit e184cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/codecs.rst
Expand Up @@ -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.


.. class:: StreamReaderWriter(stream, Reader, Writer, errors)
.. class:: StreamReaderWriter(stream, Reader, Writer, errors='strict')

Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like
object. *Reader* and *Writer* must be factory functions or classes providing the
Expand All @@ -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.


.. 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:
*encode* and *decode* work on the frontend — the data visible to
Expand Down

0 comments on commit e184cfd

Please sign in to comment.