What is the dummy statement that do nothing in Python?

Tim Daneliuk tundra at tundraware.com
Wed Jan 31 12:07:47 EST 2007


Dongsheng Ruan 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?
> 
> Thanks! 
> 
> 

if a > b:
    pass





More information about the Python-list mailing list