Function Interfaces in Python