Skip to content

Commit 8d69fe8

Browse files
docs/document.rst: insert_pdf() has only one positional arg.
1 parent e0c2b2e commit 8d69fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/document.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ For details on **embedded files** refer to Appendix 3.
13051305
pair: join_duplicates; Document.insert_pdf
13061306
pair: show_progress; Document.insert_pdf
13071307

1308-
.. method:: insert_pdf(docsrc, from_page=-1, to_page=-1, start_at=-1, rotate=-1, links=True, annots=True, widgets=True, join_duplicates=False, show_progress=0, final=1)
1308+
.. method:: insert_pdf(docsrc, *, from_page=-1, to_page=-1, start_at=-1, rotate=-1, links=True, annots=True, widgets=True, join_duplicates=False, show_progress=0, final=1)
13091309

13101310
PDF only: Copy the page range **[from_page, to_page]** (including both) of PDF document *docsrc* into the current one. Inserts will start with page number *start_at*. Value -1 indicates default values. All pages thus copied will be rotated as specified. Links, annotations and widgets can be excluded in the target, see below. All page numbers are 0-based.
13111311

0 commit comments

Comments
 (0)