File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ This module defines the following functions:
4747
4848.. function :: readPlist(pathOrFile)
4949
50- Read a plist file. *pathOrFile * may either be a file name or a (readable)
51- file object. Return the unpacked root object (which usually is a
50+ Read a plist file. *pathOrFile * may either be a file name or a (readable and
51+ binary) file object. Return the unpacked root object (which usually is a
5252 dictionary).
5353
5454 The XML data is parsed using the Expat parser from :mod: `xml.parsers.expat `
@@ -59,7 +59,7 @@ This module defines the following functions:
5959.. function :: writePlist(rootObject, pathOrFile)
6060
6161 Write *rootObject * to a plist file. *pathOrFile * may either be a file name
62- or a (writable) file object.
62+ or a (writable and binary ) file object.
6363
6464 A :exc: `TypeError ` will be raised if the object is of an unsupported type or
6565 a container that contains objects of unsupported types.
You can’t perform that action at this time.
0 commit comments