Block in Python