Computer >> Computer tutorials >  >> Programming >> Python

Why do some Python functions have underscores __ before and after the function name?


We note that names with double leading and trailing underscores like mentioned above are essentially reserved for Python built-in functions. We are better off not using similar names.