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

BUG: encode_pdfdocencoding() always returns bytes #2440

Merged

Commits on Feb 7, 2024

  1. BUG: encode_pdfdocencoding() always returns bytes

    In the function encode_pdfdocencoding, cast its return value
    from bytearray to bytes to match its function signature.
    
    This casting is necessary because bytearray is duck type
    compatible with bytes in mypy, however this library expects only
    bytes in its Encryption class.
    sbourlon committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    8299131 View commit details
    Browse the repository at this point in the history