[Python-ideas] Starap function exists but it seems there's not such thing as "doublestarmap"

Krokosh Nikita de.lsnk at gmail.com
Wed Apr 10 05:09:16 EDT 2019

Hello. I have a following question: How come there's no such thing in 
Python like starmap but which unpacks dicts as kwargs for fuction?

For example I have a format string like "{param1}, {param2}" and want to 
get results passing list of dicts for it's .format().

Of course I can do that with genexpr or some lambda with map.

But can you clarify why starmap version of map fuction exists and 
doublestarmap doesn't?

Best Regards.

More information about the Python-ideas mailing list