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

Function loads

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

Read a .plist file from a bytes object. Return the unpacked root object (which usually is a dictionary).

(value, *, fmt=None, dict_type=dict)

Source from the content-addressed store, hash-verified

885
886
887def loads(value, *, fmt=None, dict_type=dict):
888 """Read a .plist file from a bytes object.
889 Return the unpacked root object (which usually is a dictionary).
890 """
891 fp = BytesIO(value)
892 return load(fp, fmt=fmt, dict_type=dict_type)
893
894
895def dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False):

Callers

nothing calls this directly

Calls 2

BytesIOClass · 0.90
loadFunction · 0.70

Tested by

no test coverage detected