diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-14 09:25:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 09:25:43 (GMT) |
commit | 3958b7aae8cc7c571a842ff43c1dea1da9abdd9d (patch) | |
tree | d3d35bd25e94708b0fa469b485813b0ab63408e6 /.gitattributes | |
parent | 7a430109b983806c57babf229c60d0245d0b541c (diff) | |
download | cpython-3958b7aae8cc7c571a842ff43c1dea1da9abdd9d.zip cpython-3958b7aae8cc7c571a842ff43c1dea1da9abdd9d.tar.gz cpython-3958b7aae8cc7c571a842ff43c1dea1da9abdd9d.tar.bz2 |
Clarify that plistlib's load and dump functions take a binary file object (GH-9825)
The documentation says that the fp parameter to plistlib.load "should be a
readable and binary file object" but the docstring only mentions that it
should be readable. Similarly, plistlib.dump's docstring only mentions
"writable". This commit clarifies that fp should also be binary.
https://docs.python.org/3/library/plistlib.htmlGH-plistlib.load
https://docs.python.org/3/library/plistlib.htmlGH-plistlib.dump
(cherry picked from commit 0d4f4352efecf1b044c88e234e71774fe04b7d6c)
Co-authored-by: Collin Styles <collingstyles@gmail.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions