DEV Community

Discussion on: Python: __init__() is not the only constructor

Collapse
 
delta456 profile image
Swastik Baranwal

Yeah I have missed that and I will probably re-write this post again. Thanks for enlightening that for me!

Also can I use your code which you have given to explain? Would be awesome if you aloowed.

Collapse
 
gergelypolonkai profile image
Gergely Polonkai

Sure, go ahead and use it! I’m glad i could help.

Thread Thread
 
delta456 profile image
Swastik Baranwal

I just don't want to mislead people especially beginners.