Why not just __exclude__ or __excluding__?
On Wed, Mar 3, 2021 at 2:57 PM George Harding <
george.winton.hard...@gmail.com> wrote:
> Hi,
>
> Python has an __all__ variable that can be defined in a module to restrict
> which members of the module should be included in a call `from foo import
>
On 3/3/21 2:18 PM, George Harding wrote:
__all__ does not stop anyone from importing anything in the module using `from
foo import bar`.
That is true, but that is also Python. If you import something not included in
`__all__` then you do so at your own risk as it could change or vanish in