null.py 450 B

123456789101112131415161718192021
  1. # $Id: null.py 4564 2006-05-21 20:44:42Z wiemann $
  2. # Author: David Goodger <goodger@python.org>
  3. # Copyright: This module has been placed in the public domain.
  4. """
  5. A do-nothing Writer.
  6. """
  7. from docutils import writers
  8. class Writer(writers.UnfilteredWriter):
  9. supported = ('null',)
  10. """Formats this writer supports."""
  11. config_section = 'null writer'
  12. config_section_dependencies = ('writers',)
  13. def translate(self):
  14. pass