Sandeep Panda's Blog

Sandeep Panda's Blog

TIL: "Double Underscores" have a name - Dunder 😂

Subscribe to my newsletter and never miss my upcoming articles

Listen to this article

How many times have you encountered names like __init__, __test__, __doTask___ and so on? These are called Dunders or Double Underscores and are commonly used for operator overloading.

More details here: geeksforgeeks.org/dunder-magic-methods-python

Although I have been coding actively for last 6 years, I never knew there is something called Dunder. 😂

#til
 
Share this
Proudly part of