Can someone explain __all__ in Python?

It’s a list of public objects of that module, as interpreted by import *. It overrides the default of hiding everything that begins with an underscore.

Leave a Comment

tech