mirror of
https://github.com/python/cpython
synced 2026-09-29 11:30:29 +03: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
|
|
@ -849,7 +849,7 @@ PyAPI_FUNC(int) PyUnicode_Resize(
|
|||
|
||||
Coercion is done in the following way:
|
||||
|
||||
1. bytes, bytearray and other char buffer compatible objects are decoded
|
||||
1. bytes, bytearray and other bytes-like objects are decoded
|
||||
under the assumptions that they contain data using the UTF-8
|
||||
encoding. Decoding is done in "strict" mode.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue