TIL: "Double Underscores" have a name - Dunder ๐Ÿ˜‚

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. ๐Ÿ˜‚