many-sunset-44245
02/04/2025, 3:38 PMbroad-processor-92400
02/04/2025, 10:57 PM- module/
- __init__.py
- a.py
- b.py
And __init__.py reexports a few things (to allow from module import X, Y):
from a import X
from b import Y
__all__ = ['X', 'Y']
then from module.a import something_else will depend on b too. An import statement like that implies a dependencies on __init__.py , and __init__.py depends on b.broad-processor-92400
02/04/2025, 10:58 PMmany-sunset-44245
02/05/2025, 11:18 AMbroad-processor-92400
02/05/2025, 9:47 PM