MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / print_dict

Function print_dict

src/__main__.py:79–84  ·  view source on GitHub ↗

Print a Python dictionary.

(item)

Source from the content-addressed store, hash-verified

77
78
79def print_dict(item):
80 """Print a Python dictionary."""
81 l = max([len(k) for k in item.keys()]) + 1
82 for k, v in item.items():
83 msg = f"{k.rjust(l)}: {v}"
84 pymupdf.message(msg)
85
86
87def print_xref(doc, xref):

Callers 2

showFunction · 0.70
embedded_listFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…