py-pdf / pypdf

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
https://pypdf.readthedocs.io/en/latest/
Other
8.41k stars 1.42k forks source link

DOC: Improve two docstrings #2945

Closed j-t-1 closed 1 week ago

j-t-1 commented 1 week ago

deprecate_with_replacement and deprecate_no_replacement are not raising exceptions, but are issuing warnings. Change their docstrings to reflect this.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.41%. Comparing base (03f7140) to head (0079edc). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2945 +/- ## ======================================= Coverage 96.41% 96.41% ======================================= Files 52 52 Lines 8749 8749 Branches 1591 1591 ======================================= Hits 8435 8435 Misses 186 186 Partials 128 128 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.