why pass statement?

JCM joshway_without_spam at myway.mathworks.com
Wed Sep 17 09:43:49 EDT 2003


M-a-S <NO-MAIL at hotmail.com> wrote:
> Why is there the pass statement? I think, the expression statement would be enough:

> class C:
>     None

> while True:
>     None

Because emacs python-mode knows to dedent the next line after a pass :)




More information about the Python-list mailing list