Python dummy statement for nothing or nop when indent expected

Viewed 10726

I recall there was a dummy statement that was the equivalent of do nothing or fill in the blank space after the if, elif, else, and for statements to keep the expected indentation.

The below example will not work

if True:
    #I want to simply pass this branch
    # ... NOP command here
else:
    print "False"

How can I achieve this?

3 Answers
Related