python curry