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

Function make_doc

tests/test_pagelabels.py:9–14  ·  view source on GitHub ↗

Makes a PDF with 10 pages.

()

Source from the content-addressed store, hash-verified

7
8
9def make_doc():
10 """Makes a PDF with 10 pages."""
11 doc = pymupdf.open()
12 for i in range(10):
13 page = doc.new_page()
14 return doc
15
16
17def make_labels():

Callers 2

test_setlabelsFunction · 0.85
test_labels_styleAFunction · 0.85

Calls 1

new_pageMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…