[docs] [issue40304] Classes created using type() don't need to explicitly inherit from object