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 /Include | |
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 'Include')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index faa53d6..057b195 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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. |