Sandeep Panda
Sandeep's blog

Follow

Sandeep's blog

Follow

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

Sandeep Panda's photo
Sandeep Panda
·Oct 2, 2019·

min read

Play 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. 😂

 
Share this