Remove redundant __ne__ method

Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
This commit is contained in:
Hugo 2019-10-08 16:55:22 +03:00
parent 0caa48b179
commit e118de943d

View File

@ -646,10 +646,6 @@ class Image:
and self.tobytes() == other.tobytes()
)
def __ne__(self, other):
eq = self == other
return not eq
def __repr__(self):
return "<%s.%s image mode=%s size=%dx%d at 0x%X>" % (
self.__class__.__module__,