Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e184cfd

Browse files
pablogsalberkerpeksag
authored andcommitted
bpo-31824: Document default value of 'errors' parameters (GH-4328)
1 parent 9703f09 commit e184cfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/codecs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ The design is such that one can use the factory functions returned by the
802802
:func:`lookup` function to construct the instance.
803803

804804

805-
.. class:: StreamReaderWriter(stream, Reader, Writer, errors)
805+
.. class:: StreamReaderWriter(stream, Reader, Writer, errors='strict')
806806

807807
Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like
808808
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
826826
:func:`lookup` function to construct the instance.
827827

828828

829-
.. class:: StreamRecoder(stream, encode, decode, Reader, Writer, errors)
829+
.. class:: StreamRecoder(stream, encode, decode, Reader, Writer, errors='strict')
830830

831831
Creates a :class:`StreamRecoder` instance which implements a two-way conversion:
832832
*encode* and *decode* work on the frontend — the data visible to

0 commit comments

Comments
 (0)