I often find myself writing if / elif / else constructs in python, and I want to include options which can occur, but for which the corresponding action is to do nothing. I
Use pass for no-op:
if x == 0: pass else: print "x not equal 0"
And here's another example:
def f(): pass
Or:
class c: pass