commit | 6bb91f3b6e51352f91bcf785d3f6fe160ed2cd85 | [log] [tgz] |
---|---|---|
author | Martin Panter <vadmium+py@gmail.com> | Sat May 28 00:41:57 2016 +0000 |
committer | Martin Panter <vadmium+py@gmail.com> | Sat May 28 00:41:57 2016 +0000 |
tree | 0f97c3f8b3fac65680e880ec870796138af78faf | |
parent | fc36e66af46957a65b12ab0087027727f8555aed [diff] |
Issue #20699: Document that “io” methods accept bytes-like objects This matches the usage of ZipFile and BufferedWriter. This still requires return values to be bytes() objects. Also document and test that the write() methods should only access their argument before they return.