Fix Ruby lambda in Python example.