MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / decode

Function decode

tools/python-3.11.9-amd64/Lib/os.py:760–761  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

758 raise TypeError("str expected, not %s" % type(value).__name__)
759 return value.encode(encoding, 'surrogateescape')
760 def decode(value):
761 return value.decode(encoding, 'surrogateescape')
762 encodekey = encode
763 data = environ
764 return _Environ(data,

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected