class documentation
class Output(TransformSpec): (source)
Known subclasses: docutils.io.FileOutput
, docutils.io.NullOutput
, docutils.io.StringOutput
Constructor: Output(destination, destination_path, encoding, error_handler)
Abstract base class for output wrappers.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | encode |
Undocumented |
Method | write |
data is a Unicode string, to be encoded by self.encode . |
Class Variable | component |
Undocumented |
Class Variable | default |
Undocumented |
Instance Variable | destination |
The destination for output data. |
Instance Variable | destination |
A text reference to the destination. |
Instance Variable | encoding |
Text encoding for the output destination. |
Instance Variable | error |
Text encoding error handler. |
Inherited from TransformSpec
:
Method | get |
Transforms required by this class. Override in subclasses. |
Class Variable | default |
Undocumented |
Class Variable | unknown |
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.tranforms.references ... |
def __init__(self, destination=None, destination_path=None, encoding=None, error_handler='strict'):
(source)
¶
overridden in
docutils.io.FileOutput
Undocumented