diff options
Diffstat (limited to 'docutils/writers/null.py')
-rw-r--r-- | docutils/writers/null.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docutils/writers/null.py b/docutils/writers/null.py new file mode 100644 index 000000000..4632c7457 --- /dev/null +++ b/docutils/writers/null.py @@ -0,0 +1,23 @@ +# Author: David Goodger +# Contact: goodger@python.org +# Revision: $Revision$ +# Date: $Date$ +# Copyright: This module has been placed in the public domain. + +""" +A do-nothing Writer. +""" + +from docutils import writers + + +class Writer(writers.UnfilteredWriter): + + supported = ('null',) + """Formats this writer supports.""" + + config_section = 'null writer' + config_section_dependencies = ('writers',) + + def translate(self): + pass |