[docs] confusing docs for plistlib - how to use 'dump()'

Mark mark at markjharris.net
Mon Dec 5 21:03:23 EST 2016


Hi there - 

This regards the page for plistlib:

https://docs.python.org/dev/library/plistlib.html#plistlib.dumps <https://docs.python.org/dev/library/plistlib.html#plistlib.dumps>

I ran in to this problem described here:

http://technology.siprep.org/how-to-read-from-and-write-to-plist-files-using-python/ <http://technology.siprep.org/how-to-read-from-and-write-to-plist-files-using-python/>

It’s just not clear in the docs how to use ‘dump’ - and the only way I could get a plist to be created is to use the deprecated plistlib.writePlist function.

Does it have to be imported from some other module?

Mark


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20161205/b9b16016/attachment.html>


More information about the docs mailing list