Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_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
Used in the wild
real call sites across dependent graphs
searching dependent graphs…