idioms in python