File: null.py

package info (click to toggle)
python-docutils 0.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,496 kB
  • ctags: 3,391
  • sloc: python: 30,436; lisp: 2,881; sh: 2,606; makefile: 108
file content (22 lines) | stat: -rw-r--r-- 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Author: Martin Blais
# Contact: blais@furius.ca
# Revision: $Revision: 3629 $
# Date: $Date: 2005-06-29 21:45:35 +0200 (Wed, 29 Jun 2005) $
# Copyright: This module has been placed in the public domain.

"""A do-nothing parser."""

from docutils import parsers


class Parser(parsers.Parser):

    """A do-nothing parser."""

    supported = ('null',)

    config_section = 'null parser'
    config_section_dependencies = ('parsers',)

    def parse(self, inputstring, document):
        pass