__all__
NOTE: __all__
affects the from import *
behavior only. Members that are not mentioned in __all__
are still accessible from outside the module and can be imported with from import
.
References
[1] varikin@StackOverflow, Can someone explain all in Python?
[2] Docs@Python, 6.4.1. Importing * From a Package