Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_mapping
Function · 0.85
reload_environ
Function · 0.85
Calls
2
encode
Function · 0.70
upper
Method · 0.45
Tested by
no test coverage detected