diff --git a/doc-src/api.md b/doc-src/api.md index a097fa0..9b16758 100644 --- a/doc-src/api.md +++ b/doc-src/api.md @@ -16,7 +16,7 @@ a interpreter of the pdf-standard commands ### Example ```py -from pdfmajor.interpreter import PageInterpreter +from pdfmajor.interpreter import PDFInterpreter for page in PDFInterpreter("/path/to/pdf.pdf"): print("page start", page.page_num) diff --git a/doc-src/index.md b/doc-src/index.md index f3bbb96..63c5acf 100644 --- a/doc-src/index.md +++ b/doc-src/index.md @@ -19,7 +19,7 @@ See documentation [here](https://asosnovsky.github.io/pdfmajor/). ## Basic Example ```py -from pdfmajor.interpreter import PageInterpreter +from pdfmajor.interpreter import PDFInterpreter for page in PDFInterpreter("/path/to/pdf.pdf"): print("page start", page.page_num)