MCPcopy 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
251def _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
258def _main():

Callers 1

_mainFunction · 0.85

Calls 4

enumerateFunction · 0.85
sortedFunction · 0.85
printFunction · 0.50
itemsMethod · 0.45

Tested by

no test coverage detected