Home
last modified time | relevance | path

Searched refs:rowdict (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
Dcsv.py143 def _dict_to_list(self, rowdict): argument
145 wrong_fields = [k for k in rowdict if k not in self.fieldnames]
149 return [rowdict.get(key, self.restval) for key in self.fieldnames]
151 def writerow(self, rowdict): argument
152 return self.writer.writerow(self._dict_to_list(rowdict))
156 for rowdict in rowdicts:
157 rows.append(self._dict_to_list(rowdict))
/external/python/cpython3/Lib/
Dcsv.py145 def _dict_to_list(self, rowdict): argument
147 wrong_fields = rowdict.keys() - self.fieldnames
151 return (rowdict.get(key, self.restval) for key in self.fieldnames)
153 def writerow(self, rowdict): argument
154 return self.writer.writerow(self._dict_to_list(rowdict))
/external/python/cpython2/Lib/bsddb/
Ddbtables.py480 def Insert(self, table, rowdict) : argument
493 for column in rowdict.keys() :
502 for column, dataitem in rowdict.items():