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

Function encodekey

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

Source from the content-addressed store, hash-verified

776 encode = check_str
777 decode = str
778 def encodekey(key):
779 return encode(key).upper()
780 data = {}
781 for key, value in environ.items():
782 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