prototype in python