If you have a dictionary "d" somewhere with the keys that should become keyword arguments then this would work:
f(**{x:x for x in d}) f(**{x:x for x in d})Well, star-star locals. I don't know how to write it according to https://news.ycombinator.com/formatdoc