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

Function show

tests/test_general.py:645–653  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

643 set3 = set(list3)
644
645 def show(l):
646 ret = f'len={len(l)}\n'
647 for c in l:
648 cc = ord(c)
649 if (cc >= 32 and cc < 127) or c == '\n':
650 ret += c
651 else:
652 ret += f' [0x{hex(cc)}]'
653 return ret
654
655 if verbose:
656 print(f'list1:\n{show(list1)}')

Callers 3

test_2553Function · 0.70
test_open2Function · 0.70
test_4479Function · 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…