MCPcopy Index your code
hub / github.com/RustPython/RustPython / writeheader

Method writeheader

Lib/csv.py:212–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 self.writer = writer(f, dialect, *args, **kwds)
211
212 def writeheader(self):
213 header = dict(zip(self.fieldnames, self.fieldnames))
214 return self.writerow(header)
215
216 def _dict_to_list(self, rowdict):
217 if self.extrasaction == "raise":

Calls 1

writerowMethod · 0.95