Soft-deprecated. Prefer `get_attrs_and_remainder`.
(str: str)
| 88 | |
| 89 | |
| 90 | def get_attrs(str: str) -> list[tuple[str, str | None]]: # pragma: no cover |
| 91 | """ Soft-deprecated. Prefer `get_attrs_and_remainder`. """ |
| 92 | return get_attrs_and_remainder(str)[0] |
| 93 | |
| 94 | |
| 95 | def isheader(elem: Element) -> bool: |
nothing calls this directly
no test coverage detected