Skip to content

Commit

Permalink
textpage: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed May 9, 2024
1 parent 2577f5b commit 653c38c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pypdfium2/_helpers/textpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ def get_text_range(self, index=0, count=-1, errors="ignore", force_this=False):
"""
Warning:
.. versionchanged:: 4.28
Unexpected upstream changes have caused allocation size concerns with this API.
Using it is now discouraged unless you specifically need to extract a character range. Prefer :meth:`.get_text_bounded` where possible.
Calling this method with default params now implicitly translates to :meth:`.get_text_bounded` (pass ``force_this=True`` to circumvent).
For various reasons, calling this method with default params now implicitly translates to :meth:`.get_text_bounded` (pass ``force_this=True`` to circumvent).
Extract text from a given range.
Expand Down

0 comments on commit 653c38c

Please sign in to comment.