MCPcopy Index your code
hub / github.com/RustPython/RustPython / decode

Function decode

Lib/os.py:790–791  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

788 raise TypeError("str expected, not %s" % type(value).__name__)
789 return value.encode(encoding, 'surrogateescape')
790 def decode(value):
791 return value.decode(encoding, 'surrogateescape')
792 encodekey = encode
793 data = environ
794 return _Environ(data,

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected