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

Function encodekey

tools/python-3.11.9-amd64/Lib/os.py:748–749  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

746 encode = check_str
747 decode = str
748 def encodekey(key):
749 return encode(key).upper()
750 data = {}
751 for key, value in environ.items():
752 data[encodekey(key)] = value

Callers 1

_createenvironFunction · 0.85

Calls 2

upperMethod · 0.80
encodeFunction · 0.70

Tested by

no test coverage detected