Magic Methods in Python through Small Code Snippets
Learn how to use Magic Methods to enrich your code design
Published in
7 min readJul 20, 2020
Magic/Dunder Methods in Python
Magic or dunder methods are built-in methods automatically available to the user upon the substantiation of a class. Magic methods are usually surrounded by double underscores on either side of the method…