MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / __init__

Method __init__

markdown/extensions/sane_lists.py:53–56  ·  view source on GitHub ↗
(self, parser: blockparser.BlockParser)

Source from the content-addressed store, hash-verified

51 """ Exclude `ol` from list of siblings. """
52
53 def __init__(self, parser: blockparser.BlockParser):
54 super().__init__(parser)
55 self.CHILD_RE = re.compile(r'^[ ]{0,%d}(([*+-]))[ ]+(.*)' %
56 (self.tab_length - 1))
57
58
59class SaneListExtension(Extension):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected