Skip to content

Commit

Permalink
STY: Minimize diff for #879
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Jul 3, 2022
1 parent 0e18938 commit 9e5b5a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions PyPDF2/_page.py
Expand Up @@ -517,16 +517,17 @@ def _merge_page(
page2content = page2.get_contents()
if page2content is not None:
page2content = ContentStream(page2content, self.pdf)
rect = page2.trimbox
page2content.operations.insert(
0,
(
map(
FloatObject,
[
page2.trimbox.left,
page2.trimbox.bottom,
page2.trimbox.width,
page2.trimbox.height,
rect.left,
rect.bottom,
rect.width,
rect.height,
],
),
"re",
Expand Down

0 comments on commit 9e5b5a7

Please sign in to comment.