diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-05 22:25:22 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-12-05 22:25:22 +0200 |
commit | 26165893d39236c9545705ad586ff808f049a0d5 (patch) | |
tree | 13d60d061727402007b98d83c5dc8c884a31dbaa /Include/unicodeobject.h | |
parent | b7b4e0984d09a9c77c30f0a60863c40c83fcd8d6 (diff) | |
download | cpython-26165893d39236c9545705ad586ff808f049a0d5.tar.gz |
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
Diffstat (limited to 'Include/unicodeobject.h')
-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 faa53d644f..057b195218 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. |