Skip to content

Commit 13878af

Browse files
authored
DOC: Correct threads reference, plus minor changes
1 parent aeaf065 commit 13878af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pypdf/_reader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ def metadata(self) -> Optional[DocumentInformation]:
419419
"""
420420
Retrieve the PDF file's document information dictionary, if it exists.
421421
422-
Note that some PDF files use metadata streams instead of document
423-
information dictionaries, and these metadata streams will not be
422+
Note that some PDF files use metadata streams instead of document
423+
information dictionaries, and these metadata streams will not be
424424
accessed by this function.
425425
"""
426426
if TK.INFO not in self.trailer:

pypdf/_writer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def pages(self) -> List[PageObject]:
464464
Property that emulates a list of :class:`PageObject<pypdf._page.PageObject>`.
465465
this property allows to get a page or a range of pages.
466466
467-
It also provides capability to remove a page or range of pages from
467+
It also provides capability to remove a page or range of pages from
468468
the list (through del operator).
469469
Note: only the page entry is removed, as the objects beneath can be used
470470
elsewhere.
@@ -976,6 +976,7 @@ def reattach_fields(
976976
Args:
977977
page: page to analyze.
978978
If none is provided, all pages will be analyzed.
979+
979980
Returns:
980981
list of reattached fields.
981982
"""

0 commit comments

Comments
 (0)