Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PdfWriter does not support the strict parameter as stated in docs #2547

Closed
claudep opened this issue Mar 27, 2024 · 2 comments
Closed

PdfWriter does not support the strict parameter as stated in docs #2547

claudep opened this issue Mar 27, 2024 · 2 comments

Comments

@claudep
Copy link

claudep commented Mar 27, 2024

The docs currently says:

pypdf has three core objects and all of them have a strict parameter:
PdfReader
PdfWriter
PdfMerger

Environment

Which environment were you using when you encountered the problem?

Python 3.11 / pypdf 3.17.4

Traceback

This is the partial traceback I see:

  File ".../pdf.py", line 27, in __init__
    self.merger = PdfWriter(strict=False)
                  ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PdfWriter.__init__() got an unexpected keyword argument 'strict'
@stefan6419846
Copy link
Collaborator

This is a duplicate of #2479. The docs deployment is just not working at the moment, see #2484.

@stefan6419846 stefan6419846 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
@claudep
Copy link
Author

claudep commented Mar 27, 2024

I understand, sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants