[Tidy] Pythonic callback