Most properly written objects have a `str()` method, and when converted to a string have a reasonable representation.
All objects have a default `str` implementation, so it should be a safe operation to just pass the object as an argument, or create a string using the object as formatting input.
1 Answers
Brian
Upvotes from:
All objects have a default `str` implementation, so it should be a safe operation to just pass the object as an argument, or create a string using the object as formatting input.