|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.modules.cPickle.Pickler
public static class cPickle.Pickler
The Pickler object
cPickle.Pickler(PyObject),
cPickle.Pickler(PyObject,int)| Field Summary | |
|---|---|
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 Summary | |
|---|---|
cPickle.Pickler(PyObject file,
int protocol)
|
|
| Method Summary | |
|---|---|
void |
dump(PyObject object)
Write a pickled representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean fast
public PyObject persistent_id
public PyObject inst_persistent_id
| Constructor Detail |
|---|
public cPickle.Pickler(PyObject file,
int protocol)
| Method Detail |
|---|
public void dump(PyObject object)
object - The object which will be pickled.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||