diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-05 20:26:10 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-05 20:26:10 (GMT) |
commit | 92bf919ed0da8d7f112f9659e6065976e382bae1 (patch) | |
tree | 1876e54c89f619563d8b4218bb7fa5f05eb86b0a /Doc/c-api/unicode.rst | |
parent | 1a7b8d143965c281467379123187e0ef323380c3 (diff) | |
parent | b757c83ec626442a8804b9417790443bf13b4fc8 (diff) | |
download | cpython-92bf919ed0da8d7f112f9659e6065976e382bae1.zip cpython-92bf919ed0da8d7f112f9659e6065976e382bae1.tar.gz cpython-92bf919ed0da8d7f112f9659e6065976e382bae1.tar.bz2 |
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r-- | Doc/c-api/unicode.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index d86f99a..ed74f45 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -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). |