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

Method reset_glossary

markdown/extensions/abbr.py:62–64  ·  view source on GitHub ↗

Clear all abbreviations from the glossary.

(self)

Source from the content-addressed store, hash-verified

60 self.abbrs.update(self.glossary)
61
62 def reset_glossary(self):
63 """ Clear all abbreviations from the glossary. """
64 self.glossary.clear()
65
66 def load_glossary(self, dictionary: dict[str, str]):
67 """Adds `dictionary` to our glossary. Any abbreviations that already exist will be overwritten."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected