Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _print_dict
Function
_print_dict
Lib/sysconfig/__main__.py:251–255 ·
view source on GitHub ↗
(title, data)
Source
from the content-addressed store, hash-verified
249
250
251
def
_print_dict(title, data):
252
for
index, (key, value) in enumerate(sorted(data.items())):
253
if
index == 0:
254
print(f
'{title}: '
)
255
print(f
'\t{key} = "{value}"'
)
256
257
258
def
_main():
Callers
1
_main
Function · 0.85
Calls
4
enumerate
Function · 0.85
sorted
Function · 0.85
print
Function · 0.50
items
Method · 0.45
Tested by
no test coverage detected