MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / _raise_serialization_error

Function _raise_serialization_error

markdown/html4.py:69–72  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

67
68
69def _raise_serialization_error(text):
70 raise TypeError(
71 "cannot serialize %r (type %s)" % (text, type(text).__name__)
72 )
73
74def _encode(text, encoding):
75 try:

Callers 6

_encodeFunction · 0.85
_escape_cdataFunction · 0.85
_escape_attribFunction · 0.85
_escape_attrib_htmlFunction · 0.85
add_qnameFunction · 0.85
_namespacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected