[Tutor] Is it bad practise to write __all__ like that

Steven D'Aprano steve at pearwood.info
Thu Jul 28 15:00:33 CEST 2011


Karim wrote:
> 
> Hello,
> 
> __all__ = 'api db input output tcl'.split()

Yes, it's lazy, no it is not bad practice. I wouldn't do it myself, but 
I wouldn't object if somebody else did it.



-- 
Steven



More information about the Tutor mailing list