Skip to content

Commit 29862c9

Browse files
src/utils.py: get_text(): restrict positional args to match docs.
1 parent 51ace3c commit 29862c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,7 @@ def get_image_rects(page: pymupdf.Page, name, transform=False) -> list:
900900
def get_text(
901901
page: pymupdf.Page,
902902
option: str = "text",
903+
*,
903904
clip: rect_like = None,
904905
flags: OptInt = None,
905906
textpage: pymupdf.TextPage = None,

0 commit comments

Comments
 (0)