Skip to content

Commit

Permalink
DOC: Typo in warning message (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Jul 24, 2022
1 parent db3439b commit ab7a9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyPDF2/_merger.py
Expand Up @@ -640,7 +640,7 @@ def add_named_destination(self, title: str, pagenum: int) -> None:

class PdfFileMerger(PdfMerger): # pragma: no cover
def __init__(self, *args: Any, **kwargs: Any) -> None:
deprecate_with_replacement("PdfFileMerger", "PdfMerge")
deprecate_with_replacement("PdfFileMerger", "PdfMerger")

if "strict" not in kwargs and len(args) < 1:
kwargs["strict"] = True # maintain the default
Expand Down

0 comments on commit ab7a9ad

Please sign in to comment.