diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 494be337a..6468fbddb 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -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__,