What is the dummy statement that do nothing in Python?

Jean-Paul Calderone exarkun at divmod.com
Wed Jan 31 18:03:39 CET 2007


On Wed, 31 Jan 2007 11:49:53 -0500, Dongsheng Ruan <ruan at jcmills.com> wrote:
>I remember that in python there is some kind of dummy statement that just
>holds space and does nothing.
>
>I want it to hold the place after a something like if a>b: do nothing
>
>I can't just leave the space blank after if statement because there will be
>error message.
>
>Does anybody know what to insert there?

http://python.org/doc/tut/node6.html#SECTION006500000000000000000

Jean-Paul



More information about the Python-list mailing list