diff options
Diffstat (limited to 'docutils/docutils/writers/__init__.py')
-rw-r--r-- | docutils/docutils/writers/__init__.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/docutils/docutils/writers/__init__.py b/docutils/docutils/writers/__init__.py index 84be8f6a2..d15ccd29f 100644 --- a/docutils/docutils/writers/__init__.py +++ b/docutils/docutils/writers/__init__.py @@ -36,18 +36,22 @@ class Writer(Component): universal.StripClassesAndElements] document = None - """The document to write (Docutils doctree); set by `write`.""" + """The document to write (Docutils doctree); set by `write()`.""" output = None - """Final translated form of `document` (Unicode string for text, binary - string for other forms); set by `translate`.""" + """Final translated form of `document` + + (`str` for text, `bytes` for binary formats); set by `translate()`. + """ language = None - """Language module for the document; set by `write`.""" + """Language module for the document; set by `write()`.""" destination = None """`docutils.io` Output object; where to write the document. - Set by `write`.""" + + Set by `write()`. + """ def __init__(self): |