why pass statement?

Peter Hansen peter at engcorp.com
Tue Sep 16 15:13:40 EDT 2003


M-a-S wrote:
> 
> Why is there the pass statement? I think, the expression statement would be enough:
> 
> class C:
>     None
> 
> while True:
>     None

For readability.  Pass makes more sense.  You seem to think minimalism
is inherently good... (?)

-Peter




More information about the Python-list mailing list