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

Function _raise_serialization_error

markdown/serializers.py:80–83  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

78
79
80def _raise_serialization_error(text: str) -> NoReturn: # pragma: no cover
81 raise TypeError(
82 "cannot serialize {!r} (type {})".format(text, type(text).__name__)
83 )
84
85
86def _escape_cdata(text) -> str:

Callers 3

_escape_cdataFunction · 0.85
_escape_attribFunction · 0.85
_escape_attrib_htmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected