filmov
tv
Python - 011 : Use of double Pre underscore with method #python #pythonprogramming #pythontutorial

Показать описание
— Double leading underscores: __bar
Double leading underscores are typically used for name mangling.
Name mangling is a process by which the interpreter changes the attribute name to avoid naming collisions in subclasses.
Double leading underscores are typically used for name mangling.
Name mangling is a process by which the interpreter changes the attribute name to avoid naming collisions in subclasses.