[Python-ideas] Joining dicts again

Chris Angelico rosuav at gmail.com
Sun Feb 23 15:23:23 CET 2014


On Mon, Feb 24, 2014 at 1:20 AM, Steven D'Aprano <steve at pearwood.info> wrote:
>> Let's have a dict with some function's default parameters:
>> {'a':None, 'b':[]}
>
> Seems a bit contrived, but okay.

I hesitate to overly optimize contrived examples. Usually results in
missing one critical part of what we weren't told and being useless.
:|

ChrisA


More information about the Python-ideas mailing list