file.read Method Documentation (Python 2.7.10)
Stephen Tucker
stephen_tucker at sil.org
Mon Jan 9 09:34:30 EST 2023
Dear Python-list,
Yes, I know that Python 2.x is no longer supported.
I have found that the documentation for this method is misleading when the
file being read is UTF-8-encoded:
Instead of reading *size* bytes, the method reads *size *UTF-8 byte
*sequences*.
Has this error been corrected in the Python 3.x documentation?
Stephen Tucker.
More information about the Python-list
mailing list