We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7485c commit 4b65df7Copy full SHA for 4b65df7
Doc/library/codecs.rst
@@ -268,11 +268,10 @@ wider range of codecs when working with binary files:
268
.. function:: readbuffer_encode(buffer, errors=None, /)
269
270
Return a :class:`tuple` containing the raw bytes of *buffer*, a
271
- :ref:`buffer-compatible object <bufferobjects>` or :class:`str`, and their
272
- length.
+ :ref:`buffer-compatible object <bufferobjects>` or :class:`str`
+ (encoded to UTF-8 before processing), and their length.
273
274
- The *errors* argument is ignored and exists only for compatibility with
275
- other functions.
+ The *errors* argument is ignored.
276
277
.. code-block:: pycon
278
0 commit comments