From 0571269e02155a3f27e9c97069f4ed4db69c44c6 Mon Sep 17 00:00:00 2001 From: geisserml Date: Fri, 14 Apr 2023 12:20:43 +0200 Subject: [PATCH] matrix eq: improve var name --- src/pypdfium2/_helpers/matrix.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pypdfium2/_helpers/matrix.py b/src/pypdfium2/_helpers/matrix.py index 9fd1e8f19..3694c8f2b 100644 --- a/src/pypdfium2/_helpers/matrix.py +++ b/src/pypdfium2/_helpers/matrix.py @@ -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