Is it possible to override `__name__` derived from object?

Viewed 8884

To get a string representation of a class name we can use obj.__class__.__name__ is it possible to overload these methods so that I can return my string instead of the actual class name?

3 Answers
Related