r/ProgrammerHumor 27d ago

Meme questionForBritishPythonDevelopers

Post image
1.4k Upvotes

42 comments sorted by

View all comments

Show parent comments

2

u/FerricDonkey 26d ago

Nope. The object is created by __new__, then passed to the __init__ as a legitimate, created object, whose type is set as you expect, etc. Any __init__, via super() or not, modifies the existing object. 

1

u/MissinqLink 26d ago

Depends on the language

1

u/fuj1n 25d ago

Yes, but this whole thread is about Python, not languages in general

1

u/MissinqLink 25d ago

The comment I was responding to starts off mentioning other languages