Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera committed Apr 11, 2024
1 parent 0bf5ce8 commit b60fdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbol2/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b60fdf7

Please sign in to comment.