Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '"""': 0.07; 'readable': 0.09; 'think?': 0.09; 'api': 0.11; 'output': 0.11; '__all__': 0.16; 'from:addr:free.fr': 0.16; 'subject:bad': 0.16; 'sfxlen:2': 0.19; 'to:2**1': 0.21; 'input': 0.21; 'cheers': 0.23; 'to:addr:tutor': 0.32; 'to:addr:python-list': 0.34; 'header:User- Agent:1': 0.34; 'to:no real name:2**1': 0.37; 'hello,': 0.38; 'to:addr:python.org': 0.39; 'received:62': 0.67; 'subject:like': 0.67; 'subject:write': 0.84 Date: Thu, 28 Jul 2011 13:32:12 +0200 From: Karim Subject: Is it bad practise to write __all__ like that To: tutor@python.org, python-list@python.org MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311852742 news.xs4all.nl 23892 [2001:888:2000:d::a6]:58338 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10445 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