From b60fdf7deda22705115b350399f9c6dfaf88b4a4 Mon Sep 17 00:00:00 2001 From: Manuel Lera Ramirez Date: Thu, 11 Apr 2024 14:26:37 +0100 Subject: [PATCH] fix style --- sbol2/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbol2/object.py b/sbol2/object.py index 4715fa1..68ec186 100644 --- a/sbol2/object.py +++ b/sbol2/object.py @@ -250,7 +250,7 @@ def compare(self, other): :return: True if the objects are identical, False if they are different. """ - if type(other) != type(self): + if type(other) is not type(self): return False if self.rdf_type != other.rdf_type: return False