Re: [Tutor] Is it bad practise to write __all__ like that
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 ___ Tutor maillist - Tutor@python.org To unsubscribe
[Tutor] Is it bad practise to write __all__ like that
Hello, __all__ = 'api db input output tcl'.split() or __all__ = """ api db input output tcl """.split() for lazy boy ;o). It is readable as well. What do you think? Cheers Karim