2to3 --fix=idioms
diff --git a/Lib/fontTools/ttLib/tables/DefaultTable.py b/Lib/fontTools/ttLib/tables/DefaultTable.py
index abdb1ca..704546e 100644
--- a/Lib/fontTools/ttLib/tables/DefaultTable.py
+++ b/Lib/fontTools/ttLib/tables/DefaultTable.py
@@ -37,7 +37,7 @@
return "<'%s' table at %x>" % (self.tableTag, id(self))
def __cmp__(self, other):
- if type(self) != type(other): return cmp(type(self), type(other))
+ if not isinstance(self, type(other)): return cmp(type(self), type(other))
if self.__class__ != other.__class__: return cmp(self.__class__, other.__class__)
return cmp(self.__dict__, other.__dict__)