mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 19:36:19 +03:00
Remove redundant __ne__ method
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
This commit is contained in:
parent
0caa48b179
commit
e118de943d
|
@ -646,10 +646,6 @@ class Image:
|
||||||
and self.tobytes() == other.tobytes()
|
and self.tobytes() == other.tobytes()
|
||||||
)
|
)
|
||||||
|
|
||||||
def __ne__(self, other):
|
|
||||||
eq = self == other
|
|
||||||
return not eq
|
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<%s.%s image mode=%s size=%dx%d at 0x%X>" % (
|
return "<%s.%s image mode=%s size=%dx%d at 0x%X>" % (
|
||||||
self.__class__.__module__,
|
self.__class__.__module__,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user