From 4cadc7f3c9084051e599b5c02885e27a56dab4ee Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Thu, 31 Dec 2009 12:26:02 +0000 Subject: Merged revisions 77176 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r77176 | ezio.melotti | 2009-12-31 14:24:38 +0200 (Thu, 31 Dec 2009) | 1 line #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 8c2c4e4..128fd03 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, -- cgit v0.12