Searched refs:restval (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/ |
D | csv.py | 81 def __init__(self, f, fieldnames=None, restkey=None, restval=None, argument 85 self.restval = restval # default value for short rows 126 d[key] = self.restval 131 def __init__(self, f, fieldnames, restval="", extrasaction="raise", argument 134 self.restval = restval # for writing short dicts 151 return (rowdict.get(key, self.restval) for key in self.fieldnames)
|
/third_party/python/Doc/library/ |
D | csv.rst | 149 .. class:: DictReader(f, fieldnames=None, restkey=None, restval=None, \ 164 missing values are filled-in with the value of *restval* (which defaults 191 .. class:: DictWriter(f, fieldnames, restval='', extrasaction='raise', \ 198 *f*. The optional *restval* parameter specifies the value to be
|
/third_party/python/Lib/test/ |
D | test_csv.py | 783 restval="DEFAULT")
|