why pass statement?
Bruno Desthuilliers
bdesth.nospam at removeme.free.fr
Tue Sep 16 17:45:21 EDT 2003
M-a-S wrote:
>
> "John Roth" <newsgroups at jhrothjr.com> wrote in message news:vmeq2go7e7fq62 at news.supernews.com...
>
>>You don't actally need Pass. A docstring is sufficient:
>>
>>class C:
>> "this is a class"
>>
>>while True:
>> "loop de loop de loop"
>>
> A good idea! Thanks!
Not a so good idea, since the pass statement is explicit (and explicit
is better than implicit).
My 2 explicit eurocents
Bruno
More information about the Python-list
mailing list