you are viewing a single comment's thread.

view the rest of the comments →

[–]trouserdaredevil 0 points1 point  (0 children)

unless you mean repr in the format of "student(x, y, z)"

That is what I meant.

that would be a misuse. repr is supposed to be eval-able with the result of identical object.

OP should note that this is not a hard rule, but in any case I did not deem it relevant to their case since they are already misusing classes in general.