From 50caae0972d929364c1e6c750cf8a9dd6709bbdf Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Wed, 13 Jan 2021 19:12:09 +0700 Subject: [PATCH] Add extractTEXT function to TextPage for consistency --- fitz/fitz.i | 1 + 1 file changed, 1 insertion(+) diff --git a/fitz/fitz.i b/fitz/fitz.i index 42dbae39c..b91c2cfeb 100644 --- a/fitz/fitz.i +++ b/fitz/fitz.i @@ -10002,6 +10002,7 @@ struct TextPage { """Return simple, bare text on the page.""" return self._extractText(0) + extractTEXT = extractText def extractHTML(self) -> str: """Return page content as a HTML string."""