MCPcopy Index your code
hub / github.com/python/cpython / get_infos

Method get_infos

Lib/test/pythoninfo.py:41–45  ·  view source on GitHub ↗

Get information as a key:value dictionary where values are strings.

(self)

Source from the content-addressed store, hash-verified

39 self.info[key] = value
40
41 def get_infos(self):
42 """
43 Get information as a key:value dictionary where values are strings.
44 """
45 return {key: str(value) for key, value in self.info.items()}
46
47
48def copy_attributes(info_add, obj, name_fmt, attributes, *, formatter=None):

Callers 1

dump_infoFunction · 0.80

Calls 2

strFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected