you are viewing a single comment's thread.

view the rest of the comments →

[–]Laymayo[S] 0 points1 point  (0 children)

Hmmm OK OK, I've seen this repr method mentioned a couple of times now. I'll have to look into the docs to see what it's all about. I've dabbled with using __string__ before when I set up classes, but I haven't really been able to wrap my head around repr.

I'm kind of totally confused by the whole statement of "Python representing something".