[docs] [issue20699] Document that binary IO classes work with bytes-likes objects

Serhiy Storchaka report at bugs.python.org
Fri Jun 3 06:35:24 EDT 2016

Serhiy Storchaka added the comment:

Current docs use "bytes or bytearray object" (without references). "bytes" is just an alias to "str" in 2.7, but I prefer to use this name, for consistency with 3.x and for accenting the binary nature of the data.

Your new wording LGTM.


Python tracker <report at bugs.python.org>

More information about the docs mailing list