OOPs | 06-Magic Methods

Dunder, Magic, Special Methods

Magic Methods

Magic Methods are also known as Dunder methods, Special methods

Python dunder methods are the special predefined methods having two prefixes and two suffix underscores in the method name. Here, the word dunder means double under (underscore).

These special dunder methods are used in case of operator overloading (they provide extended meaning beyond the predefined meaning to an operator).

[Read More]