What is the significance of functions that start and end with underscore_ symbol in Python?

Python provides many built-in functions that are surrounded by _ symbol at the start and end of the function name.

As per Python documentation, double _ symbol is used for reserved names of functions.

These are also known as System-defined names.

Some of the important functions are:

Object._new_

Object._init_

Object._del_


Posted

in

Tags:

Comments

Leave a Reply