Print a Python dictionary.
(item)
| 77 | |
| 78 | |
| 79 | def 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 | |
| 87 | def print_xref(doc, xref): |
no outgoing calls
no test coverage detected
searching dependent graphs…