The Python Oracle

Which is a better __repr__ for a custom Python class?

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: Over a Mysterious Island

--

Chapters
00:00 Question
02:10 Accepted answer (Score 13)
03:07 Thank you

--

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

--

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

--

Tags
#python #constructor #repr

#avk47