Skip to content

Commit

Permalink
matrix eq: improve var name
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Apr 14, 2023
1 parent 5622f77 commit 0571269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pypdfium2/_helpers/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def __repr__(self):
return f"PdfMatrix{self.get()}"


def __eq__(self, matrix):
if type(self) is not type(matrix):
def __eq__(self, other):
if type(self) is not type(other):
return False
return (self.get() == matrix.get())
return (self.get() == other.get())


@property
Expand Down

0 comments on commit 0571269

Please sign in to comment.