This is an old style class:
class OldStyle: pass
This is a new style class:
class NewStyle(object): pass
This is also a new style class:
class NewStyle2: __metaclass__ = type
Is there any difference between NewStyle and NewStyle2 ?
I got the impression that the only inheritance effect from object is to actually define the type meta tag, but I canβt find any confirmation of this, except that I donβt see any difference.
zvone source share