why pass statement?

M-a-S NO-MAIL at hotmail.com
Tue Sep 16 16:01:36 EDT 2003


A good idea! Thanks!

"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"
>
> John Roth






More information about the Python-list mailing list