Skip to content

Commit 407805a

Browse files
authored
Merge pull request #825 from user202729/patch-1
Fix return value order in appendix 2
2 parents a7f9f58 + 9a03a20 commit 407805a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/app2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BLOCKS
4646

4747
Function :meth:`TextPage.extractBLOCKS` (or *Page.getText("blocks")*) extracts a page's text blocks as a list of items like::
4848

49-
(x0, y0, x1, y1, "lines in block", block_type, block_no)
49+
(x0, y0, x1, y1, "lines in block", block_no, block_type)
5050

5151
Where the first 4 items are the float coordinates of the block's bbox. The lines within each block are concatenated by a new-line character.
5252

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ More can be found in the :ref:`Document` chapter. Also have a look at `PDFjoiner
298298
Embedding Data
299299
---------------
300300

301-
PDFs can be used as containers for abitrary data (executables, other PDFs, text or binary files, etc.) much like ZIP archives.
301+
PDFs can be used as containers for arbitrary data (executables, other PDFs, text or binary files, etc.) much like ZIP archives.
302302

303303
PyMuPDF fully supports this feature via :ref:`Document` *embeddedFile** methods and attributes. For some detail read :ref:`Appendix 3`, consult the Wiki on `embedding files <https://github.com/pymupdf/PyMuPDF/wiki/Dealing-with-Embedded-Files>`_, or the example scripts `embedded-copy.py <https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embedded-copy.py>`_, `embedded-export.py <https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embedded-export.py>`_, `embedded-import.py <https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embedded-import.py>`_, and `embedded-list.py <https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples/embedded-list.py>`_.
304304

0 commit comments

Comments
 (0)