Varia's website
https://varia.zone
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
445 B
21 lines
445 B
2 weeks ago
|
# $Id: null.py 4564 2006-05-21 20:44:42Z wiemann $
|
||
|
# Author: Martin Blais <blais@furius.ca>
|
||
|
# 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
|