MCPcopy
hub / github.com/cherrypy/cherrypy / encode

Function encode

cherrypy/_json.py:21–24  ·  view source on GitHub ↗

Encode to bytes.

(value)

Source from the content-addressed store, hash-verified

19
20
21def encode(value):
22 """Encode to bytes."""
23 for chunk in _encode(value):
24 yield chunk.encode('utf-8')

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…