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.02s 2008-08-07 22:58:18.599619. hosted by webfaction.