The __all__ attribute is specific to each individual module and does not automatically apply to submodules. Submodules can define their own __all__ attribute to control their public interface separately.