class documentation
class MarshalItemExporter(BaseItemExporter): (source)
Exports items in a Python-specific binary format (see :mod:`marshal`). :param file: The file-like object to use for exporting the data. Its ``write`` method should accept :class:`bytes` (a disk file opened in binary mode, a :class:`~io.BytesIO` object, etc)
Method | __init__ |
Undocumented |
Method | export |
Undocumented |
Instance Variable | file |
Undocumented |
Inherited from BaseItemExporter
:
Method | finish |
Undocumented |
Method | serialize |
Undocumented |
Method | start |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | export |
Undocumented |
Instance Variable | fields |
Undocumented |
Instance Variable | indent |
Undocumented |
Method | _configure |
Configure the exporter by popping options from the ``options`` dict. If dont_fail is set, it won't raise an exception on unexpected options (useful for using with keyword arguments in subclasses ``__init__`` methods)... |
Method | _get |
Return the fields to export as an iterable of tuples (name, serialized_value) |
Instance Variable | _kwargs |
Undocumented |