Remove inheriting from object when creating classes with type() #532
Open
Description
Just as
class A(object): pass
is re-written as
class A: pass
, so should
A = type("A", (object,), {})
be re-written as
A = type("A", (), {})
Just as
class A(object): pass
is re-written as
class A: pass
, so should
A = type("A", (object,), {})
be re-written as
A = type("A", (), {})