Skip to content

Commit b60fdf7

Browse files
committed
fix style
1 parent 0bf5ce8 commit b60fdf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbol2/object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def compare(self, other):
250250
:return: True if the objects are identical, False if they are different.
251251
252252
"""
253-
if type(other) != type(self):
253+
if type(other) is not type(self):
254254
return False
255255
if self.rdf_type != other.rdf_type:
256256
return False

0 commit comments

Comments
 (0)