diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 13a220e172..7cbeb962b2 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -100,8 +100,7 @@ This document explains the changes made to Iris for this release lazy data from file. This will also speed up coordinate comparison. (:pull:`5610`) -#. `@bouweandela`_ made comparing coordinates, cubes, and arrays to themselves - faster. (:pull:`5691`) +#. `@bouweandela`_ made comparing coordinates and arrays to themselves faster. (:pull:`5691`) 🔥 Deprecations diff --git a/lib/iris/cube.py b/lib/iris/cube.py index ae18919904..691349f170 100644 --- a/lib/iris/cube.py +++ b/lib/iris/cube.py @@ -3826,9 +3826,6 @@ def _deepcopy(self, memo, data=None): # START OPERATOR OVERLOADS def __eq__(self, other): - if other is self: - return True - result = NotImplemented if isinstance(other, Cube):