Dec-18-2018, 05:39 PM
(This post was last modified: Dec-18-2018, 06:32 PM by Gribouillis.)
dan789 Wrote:it should have just one line (return ...) as usually this method is supposed to look likeThere is no special rule concerning the
__str__()
method. It is supposed to return a str instance but it can be 20000 lines long if you want (yes I tested this).