MCPcopy Index your code
hub / github.com/python/cpython / _raise_serialization_error

Function _raise_serialization_error

Lib/xml/etree/ElementTree.py:1013–1016  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1011register_namespace._namespace_map = _namespace_map
1012
1013def _raise_serialization_error(text):
1014 raise TypeError(
1015 "cannot serialize %r (type %s)" % (text, type(text).__name__)
1016 )
1017
1018def _escape_cdata(text):
1019 # escape character data

Callers 7

add_qnameFunction · 0.85
_namespacesFunction · 0.85
_escape_cdataFunction · 0.85
_escape_attribFunction · 0.85
_escape_attrib_htmlFunction · 0.85
_escape_cdata_c14nFunction · 0.85
_escape_attrib_c14nFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…