From 0a60a47df477a245ac57026d209e71e2bdc21e52 Mon Sep 17 00:00:00 2001 From: David Hassell Date: Mon, 10 May 2021 15:10:24 +0100 Subject: [PATCH] typo in _equals_preprocess addressed --- cfdm/mixin/container.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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