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

Mike Miller python-ideas at mgmiller.net
Wed Apr 11 03:44:52 EDT 2018


Ok, we can haggle the finer details and I admit once you learn the syntax it 
isn't substantially harder.  Simply, I've found the dict() a bit easier to 
mentally parse at a glance.  Also, to add I've always expected multiple args to 
work with it, and am always surprised when it doesn't.

Would never have thought of this unpacking syntax if I didn't know that's the 
way its done now, but often have to think about it for a second or two.


On 2018-04-10 22:22, Chris Angelico wrote:
> On Wed, Apr 11, 2018 at 2:44 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>> On Wed, Apr 11, 2018 at 02:22:08PM +1000, Chris Angelico wrote:



More information about the Python-ideas mailing list