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. rendered by a django application. hosted by webfaction.