Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _print_dict
Function
_print_dict
tools/python-3.11.9-amd64/Lib/sysconfig.py:829–833 ·
view source on GitHub ↗
(title, data)
Source
from the content-addressed store, hash-verified
827
828
829
def
_print_dict(title, data):
830
for
index, (key, value) in enumerate(sorted(data.items())):
831
if
index == 0:
832
print(f
'{title}: '
)
833
print(f
'\t{key} = "{value}"'
)
834
835
836
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