[Python-ideas] Accepting multiple mappings as positional arguments to create dicts

Mike Miller python-ideas at mgmiller.net
Tue Apr 10 21:19:21 EDT 2018


On 2018-04-09 04:23, Daniel Moisset wrote:
> In which way would this be different to {**mapping1, **mapping2, **mapping3} ?

That's possible now, but believe the form mentioned previously would be more 
readable:

     dict(d1, d2, d3)

-Mike



More information about the Python-ideas mailing list