Skip to content

Commit d92788a

Browse files
docs/page.rst: fixed arg names for Page.add_file_annot().
1 parent 5aba78e commit d92788a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/page.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ In a nutshell, this is what you can do with PyMuPDF:
246246

247247
|history_end|
248248

249-
.. method:: add_file_annot(pos, buffer, filename, ufilename=None, desc=None, icon="PushPin")
249+
.. method:: add_file_annot(point, buffer_, filename, ufilename=None, desc=None, icon="PushPin")
250250

251251
PDF only: Add a file attachment annotation with a "PushPin" icon at the specified location.
252252

0 commit comments

Comments
 (0)