Skip to content

Commit b7b3c8c

Browse files
MAINT: Improve wording of set_data error message (#2810)
1 parent 9f08cd0 commit b7b3c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypdf/generic/_data_structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def set_data(self, data: bytes) -> None: # deprecated
10211021
super().set_data(FlateDecode.encode(data))
10221022
else:
10231023
raise PdfReadError(
1024-
"Streams encoded with different filter from only FlateDecode is not supported"
1024+
"Streams encoded with a filter different from FlateDecode are not supported"
10251025
)
10261026

10271027

0 commit comments

Comments
 (0)