diff --git a/cfdm/mixin/container.py b/cfdm/mixin/container.py index 5ec111bbfb..4be52704a6 100644 --- a/cfdm/mixin/container.py +++ b/cfdm/mixin/container.py @@ -202,12 +202,12 @@ def _equals_preprocess(self, other, verbose=None, ignore_type=False): * If the LHS operand is (object identity) the RHS operand then return True. - * If ignore_type=False and the LHS operand is not of the same - type, or a sublcass of, the RHS operand then return False + * If ignore_type=False and the LHS operand is not of exactly + the same type as the RHS operand then return False. - * If ignore_type=True and the LHS operand is not of the same - type, or a sublcass of, the RHS operand then instantiate a - new instance based on the the RHS class and return it. + * If ignore_type=True and the LHS operand is not of exactly + the same type as the RHS operand then instantiate a new + instance based on the the RHS class and return it. .. versionadded:: (cfdm) 1.7.0