Skip to content

Commit 85b5768

Browse files
authored
STY: Variable naming convention (#2360)
1 parent 5a9a420 commit 85b5768

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pypdf/_writer.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1236,11 +1236,11 @@ def generate_file_identifiers(self) -> None:
12361236
required; see 14.4 "File Identifiers".
12371237
"""
12381238
if hasattr(self, "_ID") and self._ID and len(self._ID) == 2:
1239-
ID_1 = self._ID[0]
1239+
id1 = self._ID[0]
12401240
else:
1241-
ID_1 = self._compute_document_identifier_from_content()
1242-
ID_2 = self._compute_document_identifier_from_content()
1243-
self._ID = ArrayObject((ID_1, ID_2))
1241+
id1 = self._compute_document_identifier_from_content()
1242+
id2 = self._compute_document_identifier_from_content()
1243+
self._ID = ArrayObject((id1, id2))
12441244

12451245
def encrypt(
12461246
self,

0 commit comments

Comments
 (0)