In Python, to indicate that a function is private, we just need one prefix underscore, e.g. _my_private_function. Double underscore prefixes have a special meaning and maybe should be avoided if one just need to indicate that a function is private. See https://peps.python.org/pep-0008/#descriptive-naming-styles for more info.
In Python, to indicate that a function is private, we just need one prefix underscore, e.g.
_my_private_function
. Double underscore prefixes have a special meaning and maybe should be avoided if one just need to indicate that a function is private. See https://peps.python.org/pep-0008/#descriptive-naming-styles for more info.