pocketpy/docs/modules/pickle.md
2023-06-12 19:34:33 +08:00

14 lines
218 B
Markdown

---
icon: package
label: pickle
---
### `pickle.dumps(obj) -> bytes`
Return the pickled representation of an object as a bytes object.
### `pickle.loads(b: bytes)`
Return the unpickled object from a bytes object.