MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / dumps

Function dumps

tools/python-3.11.9-amd64/Lib/plistlib.py:906–911  ·  view source on GitHub ↗

Return a bytes object with the contents for a .plist file.

(value, *, fmt=FMT_XML, skipkeys=False, sort_keys=True)

Source from the content-addressed store, hash-verified

904
905
906def dumps(value, *, fmt=FMT_XML, skipkeys=False, sort_keys=True):
907 """Return a bytes object with the contents for a .plist file.
908 """
909 fp = BytesIO()
910 dump(value, fp, fmt=fmt, skipkeys=skipkeys, sort_keys=sort_keys)
911 return fp.getvalue()

Callers

nothing calls this directly

Calls 3

getvalueMethod · 0.95
BytesIOClass · 0.90
dumpFunction · 0.70

Tested by

no test coverage detected