mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Don't compare pyaccess in __eq__
This commit is contained in:
parent
a7d21dec15
commit
f1cc194955
|
@ -570,9 +570,8 @@ class Image:
|
|||
d = (self.info == other.info)
|
||||
e = (self.category == other.category)
|
||||
f = (self.readonly == other.readonly)
|
||||
g = (self.pyaccess == other.pyaccess)
|
||||
h = (self.tobytes() == other.tobytes())
|
||||
return a and b and c and d and e and f and g and h
|
||||
g = (self.tobytes() == other.tobytes())
|
||||
return a and b and c and d and e and f and g
|
||||
|
||||
def __ne__(self, other):
|
||||
eq = (self == other)
|
||||
|
|
Loading…
Reference in New Issue
Block a user