why pass statement?

anton muhin antonmuhin.REMOVE.ME.FOR.REAL.MAIL at rambler.ru
Tue Sep 16 15:01:37 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
> 
No. None is just a value (now variable), not a statment.

hth,
anton.






More information about the Python-list mailing list