class Foo(object): pass
class Foo: pass
Used when a class inherits from object, which under Python 3 is implicit, hence can be safely removed from bases.
object