The Python Oracle

Purpose of __repr__ method?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Drifting Through My Dreams

--

Chapters
00:00 Question
00:21 Accepted answer (Score 228)
00:56 Answer 2 (Score 23)
02:01 Answer 3 (Score 18)
03:02 Answer 4 (Score 6)
03:17 Thank you

--

Full question
https://stackoverflow.com/questions/1984...

Accepted answer links:
[here]: http://docs.python.org/library/functions...

Answer 2 links:
[Python documentation]: http://docs.python.org/library/functions...
[__repr__]: http://docs.python.org/reference/datamod...

Answer 3 links:
[Documentation]: https://docs.python.org/3/library/functi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47