Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dcsv.py131 def __init__(self, f, fieldnames, restval="", extrasaction="raise", argument
135 if extrasaction.lower() not in ("raise", "ignore"):
137 % extrasaction)
138 self.extrasaction = extrasaction
146 if self.extrasaction == "raise":
/third_party/python/Lib/test/
Dtest_csv.py697 extrasaction="raised")
701 writer = csv.DictWriter(fileobj, ['f1', 'f2'], extrasaction="raise")
707 writer = csv.DictWriter(fileobj, ['f1', 'f2'], extrasaction="ignore")
/third_party/python/Doc/library/
Dcsv.rst191 .. class:: DictWriter(f, fieldnames, restval='', extrasaction='raise', \
201 *fieldnames*, the optional *extrasaction* parameter indicates what action to