Vladimir

1%
Flag icon
In contrast, __str__ is called by the str() built-in and implicitly used by the print function. It should return a string suitable for display to end users.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview