diff options
author | Collin Styles <collingstyles@gmail.com> | 2019-07-14 09:01:48 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2019-07-14 09:01:48 (GMT) |
commit | 0d4f4352efecf1b044c88e234e71774fe04b7d6c (patch) | |
tree | c6c0eabd42bf83ed63a0e91172682033ec0d2267 /Modules | |
parent | 52c8c090870c4e45dc48d1991d7ef7de2e40b2a8 (diff) | |
download | cpython-0d4f4352efecf1b044c88e234e71774fe04b7d6c.zip cpython-0d4f4352efecf1b044c88e234e71774fe04b7d6c.tar.gz cpython-0d4f4352efecf1b044c88e234e71774fe04b7d6c.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.html#plistlib.load
https://docs.python.org/3/library/plistlib.html#plistlib.dump
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions