public static class cPickle.Pickler
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
boolean |
fast |
The undocumented attribute fast of the C version of cPickle disables
memoization.
|
PyObject |
inst_persistent_id |
Hmm, not documented, perhaps it shouldn't be public?
|
PyObject |
persistent_id |
To write references to persistent objects, the persistent module
must assign a method to persistent_id which returns either None
or the persistent ID of the object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dump(PyObject object) |
Write a pickled representation of the object.
|
public boolean fast
public PyObject persistent_id
public PyObject inst_persistent_id
public Pickler(PyObject file, int protocol)
public void dump(PyObject object)
object
- The object which will be pickled.