class documentation

class BinaryFileOutput(FileOutput): (source)

View In Hierarchy

A version of docutils.io.FileOutput which writes to a binary file.

Class Variable mode The mode argument for `open()`.

Inherited from FileOutput:

Method __init__ :Parameters: - `destination`: either a file-like object (which is written directly) or `None` (which implies `sys.stdout` if no `destination_path` given). - `destination_path`: a path to a file, which is opened and then written...
Method close Undocumented
Method open Undocumented
Method write Encode `data`, write it to a single file, and return it.
Instance Variable autoclose Undocumented
Instance Variable destination The destination for output data.
Instance Variable destination_path A text reference to the destination.
Instance Variable opened Undocumented
Instance Variable _stderr Undocumented

Inherited from Output (via FileOutput):

Method __repr__ Undocumented
Method encode Undocumented
Class Variable component_type Undocumented
Class Variable default_destination_path Undocumented
Instance Variable encoding Text encoding for the output destination.
Instance Variable error_handler Text encoding error handler.

Inherited from TransformSpec (via FileOutput, Output):

Method get_transforms Transforms required by this class. Override in subclasses.
Class Variable default_transforms Undocumented
Class Variable unknown_reference_resolvers List of functions to try to resolve unknown references. Unknown references have a 'refname' attribute which doesn't correspond to any target in the document. Called when the transforms in `docutils.transforms...
mode: str = (source)

The mode argument for `open()`.