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.01s 2010-09-02 15:08:15.610517. hosted by webfaction.