mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
This commit is contained in:
parent
6b335196c5
commit
b757c83ec6
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