Break In Python Nested Functions