Belval/pdf2image

convert_from_bytes has wrong argument name or docstring

t-ae opened this issue · 0 comments

t-ae commented

First argument of convert_from_bytes is pdf_file.

pdf_file: bytes,

Its docstring calls it pdf_bytes.

:param pdf_bytes: Bytes of the PDF that you want to convert

pdf_bytes sounds more accurate for me, but renaming can break compatibility.