`f = None` seems a little unnecessary.