From dcf58f1f9cb1146ce6a378a4df20eb82a436a366 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 19 Jul 2026 16:32:58 +0800 Subject: [PATCH] chore: fix stale 'optional extra' wording in comment --- pageindex/parser/pdf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pageindex/parser/pdf.py b/pageindex/parser/pdf.py index b72eb2d..ef37a42 100644 --- a/pageindex/parser/pdf.py +++ b/pageindex/parser/pdf.py @@ -19,9 +19,9 @@ class PdfParser: model = kwargs.get("model") images_dir = kwargs.get("images_dir") - # Images are extracted with PyMuPDF (optional extra); text stays with - # PyPDF2 below so the extracted text — and therefore the tree — matches - # the CLI / pre-SDK default. + # Images are extracted with PyMuPDF (optional); text stays with PyPDF2 + # below so the extracted text — and therefore the tree — matches the + # CLI / pre-SDK default. page_images = self._extract_images(path, images_dir) if images_dir else {} reader = PyPDF2.PdfReader(str(path))