Skip to content

Commit 4b65df7

Browse files
Victor's review
1 parent 4e7485c commit 4b65df7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/codecs.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,10 @@ wider range of codecs when working with binary files:
268268
.. function:: readbuffer_encode(buffer, errors=None, /)
269269

270270
Return a :class:`tuple` containing the raw bytes of *buffer*, a
271-
:ref:`buffer-compatible object <bufferobjects>` or :class:`str`, and their
272-
length.
271+
:ref:`buffer-compatible object <bufferobjects>` or :class:`str`
272+
(encoded to UTF-8 before processing), and their length.
273273

274-
The *errors* argument is ignored and exists only for compatibility with
275-
other functions.
274+
The *errors* argument is ignored.
276275

277276
.. code-block:: pycon
278277

0 commit comments

Comments
 (0)