Open gsganden opened 1 year ago
Would the .__str__
be implemented separately? I think if not then print() will fall back to using __repr__
as well which might or might not be what the user wants to see (probably depending on the number of methods that will be listed).
.methods
shows the methods that a given inspector provides. We could save users a bit of typing by putting that information in.__repr__
instead.