Vladimir

1%
Flag icon
Programmers with prior experience in languages with a toString method tend to implement __str__ and not __repr__. If you only implement one of these special methods in Python, choose __repr__.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview