I found as follow in PEP 8.
_single_leading_underscore: weak "internal use" indicator. E.g. "from M import *" does not import objects whose name starts with an underscore.
I test this by coding. I make two file. one is "importing_A.py", the other is "A.py". I coded as following.
importing_A.py :
from A import *
a_class = Test()
a_class._single_underscore()
A.py :
class Test:
def _single_underscore(self):
print("executed _single_score()")
and executed "importing_A.py". I expected the result say can't find _single_underscore function, because single underscore function is "weak internal use" indication. However, result is well executed printing "executed _single_score()".
I couldn't know what's wrong. Could you give me any idea? thank you.