local-reader.py 510 B

1234567891011121314151617181920
  1. # -*- coding: utf-8 -*-
  2. # $Id: local-reader.py 7504 2012-08-27 07:55:20Z grubert $
  3. # Authors: Engelbert Gruber <grubert@users.sourceforge.net>
  4. # Toshio Kuratomi <toshio@fedoraproject.org>
  5. # Copyright: This module is put into the public domain.
  6. """
  7. mini-reader to test get_reader_class with local reader
  8. """
  9. import docutils
  10. from docutils import readers
  11. class Reader(readers.Reader):
  12. supported = ('dummy',)
  13. """Formats this reader supports."""
  14. document = None
  15. """A document tree."""