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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected