The Python Oracle

Which is a better __repr__ for a custom Python class?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Isolated

--

Chapters
00:00 Which Is A Better __repr__ For A Custom Python Class?
01:37 Accepted Answer Score 14
02:29 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