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

Function get_attrs

markdown/extensions/attr_list.py:82–84  ·  view source on GitHub ↗

Soft-deprecated. Prefer `get_attrs_and_remainder`.

(str: str)

Source from the content-addressed store, hash-verified

80
81
82def get_attrs(str: str) -> list[tuple[str, str]]: # pragma: no cover
83 """ Soft-deprecated. Prefer `get_attrs_and_remainder`. """
84 return get_attrs_and_remainder(str)[0]
85
86
87def isheader(elem: Element) -> bool:

Callers

nothing calls this directly

Calls 1

get_attrs_and_remainderFunction · 0.85

Tested by

no test coverage detected