Modifier and Type | Field and 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.
|
Constructor and Description |
---|
cPickle.Pickler(PyObject file,
int protocol) |
public boolean fast
public PyObject persistent_id
public PyObject inst_persistent_id
public cPickle.Pickler(PyObject file, int protocol)
public void dump(PyObject object)
object
- The object which will be pickled.