0
Use of magic methods(__method__) in python.
difference between magic methods and.normal methods
1 Antwort
+ 8
Magic methods are invoked by Python on special occasions or events during the code. Arithmetic operators, object creation and deletion, printing an onject, etc. All those times certain magic methods are executed and the best part is - you can override and overload them :)
Take a look:
https://code.sololearn.com/cDcyBAgWX0fA/?ref=app