From 26165893d39236c9545705ad586ff808f049a0d5 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 5 Dec 2014 22:25:22 +0200 Subject: Issue #22581: Use more "bytes-like object" throughout the docs and comments. --- Include/unicodeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/unicodeobject.h') 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. -- cgit v1.2.1