~ubuntu-branches/ubuntu/jaunty/python-docutils/jaunty

« back to all changes in this revision

Viewing changes to docutils/parsers/null.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Author: Martin Blais
 
2
# Contact: blais@furius.ca
 
3
# Revision: $Revision: 3629 $
 
4
# Date: $Date: 2005-06-29 21:45:35 +0200 (Wed, 29 Jun 2005) $
 
5
# Copyright: This module has been placed in the public domain.
 
6
 
 
7
"""A do-nothing parser."""
 
8
 
 
9
from docutils import parsers
 
10
 
 
11
 
 
12
class Parser(parsers.Parser):
 
13
 
 
14
    """A do-nothing parser."""
 
15
 
 
16
    supported = ('null',)
 
17
 
 
18
    config_section = 'null parser'
 
19
    config_section_dependencies = ('parsers',)
 
20
 
 
21
    def parse(self, inputstring, document):
 
22
        pass