mpi4py.MPI.Pickle

Package mpi4py :: Module MPI :: Class Pickle |
[hide private]
[frames] | no frames]

# Class Pickle

Pickle(dumps: Optional[Callable[[Any, int], bytes]] = None, loads: Optional[Callable[[Buffer], Any]] = None, protocol: Optional[int] = None) -> None

Pickle/unpickle Python objects

Instance Methods | [hide private]
None |
__init__(dumps: OptionalCallableAny=...=..., int=...=..., bytes=... = None, loads: OptionalCallableBuffer=...=..., Any=... = None, protocol: Optionalint=... = None) x.__init__(...) initializes x; see help(type(x)) for signature |
a new object with type S, a subtype of T |
__new__(S, ...) |
bytes |
dumps(self, obj: Any, buffer_callback: OptionalCallableBuffer=...=..., Any=... = None) Serialize object to pickle data stream. |
Any |
loads(self, data: Buffer, buffers: OptionalIterableBuffer=... = None) Deserialize object from pickle data stream. |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| PROTOCOL Pickle.PROTOCOL: Optional[int] pickle protocol
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(dumps: OptionalCallableAny=...=..., int=...=..., bytes=... = None, loads: OptionalCallableBuffer=...=..., Any=... = None, protocol: Optionalint=... = None) (Constructor) |
x.__init__(...) initializes x; see help(type(x)) for signature Returns: None Overrides: object.__init__

### __new__(S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__