+ 3
what is the need for those magic methods that are being provided in python
could anyone explain for me
2 Antworten
+ 2
the magic methods are provided to do change some default behavior... like what to do in destructor, what should be printed for default print etc
+ 2
they are used to create your custom codes