mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
This commit is contained in:
commit
92bf919ed0
12 changed files with 39 additions and 37 deletions
|
@ -556,7 +556,8 @@ APIs:
|
|||
Coerce an encoded object *obj* to an Unicode object and return a reference with
|
||||
incremented refcount.
|
||||
|
||||
:class:`bytes`, :class:`bytearray` and other char buffer compatible objects
|
||||
:class:`bytes`, :class:`bytearray` and other
|
||||
:term:`bytes-like objects <bytes-like object>`
|
||||
are decoded according to the given *encoding* and using the error handling
|
||||
defined by *errors*. Both can be *NULL* to have the interface use the default
|
||||
values (see the next section for details).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue