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

Function encode

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

Source from the content-addressed store, hash-verified

209 namespaces[default_namespace] = ""
210
211 def encode(text):
212 return text.encode(encoding)
213
214 def add_qname(qname):
215 # calculate serialized qname representation

Callers 1

add_qnameFunction · 0.85

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected