Debian Codegraph @

docutils/parsers/null.py

raw symbols SCIP
1 # $Id: null.py 10136 2025-05-20 15:48:27Z milde $
2 # Author: Martin Blais <[email protected]>
3 # Copyright: This module has been placed in the public domain.
4
5 """A do-nothing parser."""
6
7 from __future__ import annotations
8
9 __docformat__ = 'reStructuredText'
10
11 from docutils import parsers
12
13
14 class Parser(parsers.Parser):
15
16 """A do-nothing parser."""
17
18 supported = ('null',)
19
20 config_section = 'null parser'
21 config_section_dependencies = ('parsers',)
22
23 def parse(self, inputstring, document) -> None:
24 pass