[Python-Dev] performance of {} versus dict()

Xavier Morel python-dev at masklinn.net
Wed Nov 14 19:08:44 CET 2012


On 2012-11-14, at 18:08 , Mark Adam wrote:
> 
> That's not a recommendation to use the **kwargs style.

And nobody said it was. It's a recommendation to not put spaces around
the equals sign when using keyword arguments which is the correction
Serhiy applied to the original code (along with adding a space after the
colon in the literal dict, also a PEP8 recommendation).


More information about the Python-Dev mailing list