Skip to content

Commit

Permalink
DOC: Adjust PdfWriter.add_uri docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Jun 22, 2022
1 parent 5834669 commit 187224a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions PyPDF2/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ def add_uri(
) -> None:
"""
Add an URI from a rectangular area to the specified page.
This uses the basic structure of AddLink
This uses the basic structure of :meth:`add_link`
:param int pagenum: index of the page on which to place the URI action.
:param int uri: string -- uri of resource to link to.
Expand All @@ -1350,9 +1350,6 @@ def add_uri(
:param border: if provided, an array describing border-drawing
properties. See the PDF spec for details. No border will be
drawn if this argument is omitted.
REMOVED FIT/ZOOM ARG
-John Mulligan
"""

page_link = self.get_object(self._pages)[PA.KIDS][pagenum] # type: ignore
Expand Down

0 comments on commit 187224a

Please sign in to comment.