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

Method __init__

markdown/extensions/abbr.py:188–190  ·  view source on GitHub ↗
(self, pattern: str, title: str)

Source from the content-addressed store, hash-verified

186 """ Abbreviation inline pattern. """
187
188 def __init__(self, pattern: str, title: str):
189 super().__init__(pattern)
190 self.title = title
191
192 def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element, int, int]:
193 abbr = etree.Element('abbr')

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected