From d8e67e78fc90fb44f7816ec1ce9966c8833332d7 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 31 Dec 2009 12:24:38 +0000 Subject: [PATCH] #7612: typo in stdtypes.rst --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 469ecddb22..f43b71af98 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -650,7 +650,7 @@ string syntax: ``b'xyzzy'``. To construct byte arrays, use the Also, while in previous Python versions, byte strings and Unicode strings could be exchanged for each other rather freely (barring encoding issues), strings and bytes are now completely separate concepts. There's no implicit - en-/decoding if you pass and object of the wrong type. A string always + en-/decoding if you pass an object of the wrong type. A string always compares unequal to a bytes or bytearray object. Lists are constructed with square brackets, separating items with commas: ``[a, -- 2.40.0