[docs] [issue20699] Behavior of ZipFile with file-like object and BufferedWriter.
report at bugs.python.org
Sat Jan 10 08:44:26 CET 2015
Martin Panter added the comment:
I think the simplest thing to do here would be to update the documentation to match the usage. This patch does so, saying that all write() methods, as well as the BytesIO() constructor, have to accept bytes-like objects. It also expands some tests to verify this, and fixes a resulting bug in _pyio.
assignee: -> docs at python
nosy: +docs at python
Added file: http://bugs.python.org/file37662/bytes-like-param.patch
Python tracker <report at bugs.python.org>
More information about the docs