Is it bad practise to write __all__ like that

Karim karim.liateni at free.fr
Thu Jul 28 13:32:12 CEST 2011


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



More information about the Python-list mailing list