[docs] [issue20699] Document that binary IO classes work with bytes-likes objects
Serhiy Storchaka
report at bugs.python.org
Fri Jun 3 04:09:47 EDT 2016
Serhiy Storchaka added the comment:
array is supported explicitly in the Python implementation of readinto().
What if write not "usable with memoryview", but mention memoryview as an example?
The object *b* should be a pre-allocated, writable array of bytes,
such as :class:`bytearray`, :class:`array.array` or
:class:`memoryview`.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20699>
_______________________________________
More information about the docs
mailing list