From 653c38c7dad22fcf691a418c2d4fdbbc99f1385f Mon Sep 17 00:00:00 2001 From: geisserml Date: Thu, 9 May 2024 18:57:49 +0200 Subject: [PATCH] textpage: update docs --- src/pypdfium2/_helpers/textpage.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pypdfium2/_helpers/textpage.py b/src/pypdfium2/_helpers/textpage.py index 9ba875f73..dc03fe345 100644 --- a/src/pypdfium2/_helpers/textpage.py +++ b/src/pypdfium2/_helpers/textpage.py @@ -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.