We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec85a27 commit 3ab1581Copy full SHA for 3ab1581
pypdf/_writer.py
@@ -1234,7 +1234,12 @@ def generate_file_identifiers(self) -> None:
1234
Generate an identifier for the PDF that will be written.
1235
1236
The only point of this is ensuring uniqueness. Reproducibility is not
1237
- required; see 14.4 "File Identifiers".
+ required;
1238
+ When a file is first written, both identifiers shall be set to the same value.
1239
+ If both identifiers match when a file reference is resolved, it is very
1240
+ likely that the correct and unchanged file has been found. If only the first
1241
+ identifier matches, a different version of the correct file has been found.
1242
+ see 14.4 "File Identifiers".
1243
"""
1244
if self._ID:
1245
id1 = self._ID[0]
0 commit comments