A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/070863.html below:

[Python-Dev] dict(keys, values)

[Python-Dev] dict(keys, values) [Python-Dev] dict(keys, values)Steve Holden steve at holdenweb.com
Thu Feb 1 18:27:11 CET 2007
Andrew Koenig wrote:
>> Unfortunately
>>
>>    dict(keys=keys, values=values) == {keys: values}
> 
> Ummm, no:
> 
> 	dict(keys=keys, values=values) == {'keys': keys, 'values': values}
> 
Of course I should really have written

     dict(keys=keys, values=values) != dict(zip(keys, values))

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Blog of Note:          http://holdenweb.blogspot.com
See you at PyCon?         http://us.pycon.org/TX2007

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4