dict.fromkeys

a.fromkeys(seq[, value]) Creates a new dictionary with keys from seq and values set to value.

dict.fromkeys is a class method that returns a new dictionary. value defaults to None. New in version 2.3.

 

A Django site. this page was rendered by a django application in 0.00s 2012-02-11 05:06:18.410104. hosted by webfaction.