<div dir="ltr"><div>Hello,</div><div><br></div><div>I am a Japanese translator of Python documentation.</div><div><br></div><div>In the third paragraph of the section "Reading and Writing Unicode Data"</div><div>

(<a href="http://docs.python.org/3.3/howto/unicode.html#reading-and-writing-unicode-data">http://docs.python.org/3.3/howto/unicode.html#reading-and-writing-unicode-data</a>),</div><div>there is some confusing text: "open a file, read an 8-bit bytes object from it, and convert the string with bytes.decode(encoding)"</div>

<div><br></div><div>Words "the string" in it may refer to "an 8-bit bytes object", but usually we do not call a bytes object "string". This sentence confuses me.</div><div><br></div><div><br>

</div><div>To know why and where such a strange word came from, I got back into Python documentation on version 2.7</div><div>(<a href="http://docs.python.org/2.7/howto/unicode.html#reading-and-writing-unicode-data">http://docs.python.org/2.7/howto/unicode.html#reading-and-writing-unicode-data</a>).<br>

</div><div>On this version, a corresponding old text is "open a file, read an 8-bit string from it, and convert the string with unicode(str, encoding)".</div><div>As you might notice, the object read from a file is "string", but not "bytes" which appeared in Python 3.0.</div>

<div>When this paragraph was converted, words "the string" might be missed and left.</div><div><br></div><div><br></div><div>As my conclusion, I suggest that words "the string" should be "the bytes".</div>

<div><br></div><div><br></div><div>Regards,</div><div>cocoatomo</div><div><br></div><div><br></div>-- <br>class Cocoatomo:<br>    name = 'cocoatomo'<br>    email_address = '<a href="mailto:cocoatomo77@gmail.com">cocoatomo77@gmail.com</a>'<br>

    twitter_id = '@cocoatomo'
</div>