Skip to content

Commit

Permalink
fix formatting and version
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Feb 27, 2024
1 parent adc27a0 commit c777d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/generic/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def write_to_stream(
def renumber(self) -> bytes:
out = self[0].encode("utf-8")
if out != b"/":
deprecate_no_replacement(f"Incorrect first char in NameObject, should start with '/':({self})","5.0.0")
deprecate_no_replacement(f"Incorrect first char in NameObject, should start with '/': ({self})", "6.0.0")
for c in self[1:]:
if c > "~":
for x in c.encode("utf-8"):
Expand Down

0 comments on commit c777d9f

Please sign in to comment.