MCPcopy Index your code
hub / github.com/python/cpython / encodekey

Function encodekey

Lib/os.py:797–798  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

795 encode = check_str
796 decode = str
797 def encodekey(key):
798 return encode(key).upper()
799 data = {}
800 for key, value in environ.items():
801 data[encodekey(key)] = value

Callers 2

_create_environ_mappingFunction · 0.85
reload_environFunction · 0.85

Calls 2

encodeFunction · 0.70
upperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…