Home
last modified time | relevance | path

Searched refs:skipinitialspace (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/
Dcsv.py38 skipinitialspace = None variable in Dialect
59 skipinitialspace = False variable in excel
74 skipinitialspace = False variable in unix_dialect
180 quotechar, doublequote, delimiter, skipinitialspace = \
183 delimiter, skipinitialspace = self._guess_delimiter(sample,
199 dialect.skipinitialspace = skipinitialspace
256 skipinitialspace = delims[delim] == spaces
262 skipinitialspace = 0
277 return (quotechar, doublequote, delim, skipinitialspace)
353 skipinitialspace = (data[0].count(delim) ==
[all …]
/third_party/python/Modules/
D_csv.c94 char skipinitialspace; /* ignore spaces following delimiter? */ member
336 { "skipinitialspace", T_BOOL, D_OFF(skipinitialspace), READONLY },
402 PyObject *skipinitialspace = NULL; in dialect_new() local
414 &skipinitialspace, in dialect_new()
439 skipinitialspace == NULL && in dialect_new()
457 Py_XINCREF(skipinitialspace); in dialect_new()
474 DIALECT_GETATTR(skipinitialspace, "skipinitialspace"); in dialect_new()
488 DIASET(_set_bool, "skipinitialspace", &self->skipinitialspace, skipinitialspace, false); in dialect_new()
522 Py_CLEAR(skipinitialspace); in dialect_new()
700 else if (c == ' ' && dialect->skipinitialspace) in parse_process_char()
/third_party/python/Lib/test/
Dtest_csv.py69 self.assertIs(obj.dialect.skipinitialspace, False)
88 quoting=csv.QUOTE_NONE, skipinitialspace=True,
97 self.assertIs(obj.dialect.skipinitialspace, True)
115 skipinitialspace=True variable in Test_Csv._test_dialect_attrs.dialect
125 self.assertIs(obj.dialect.skipinitialspace, True)
873 skipinitialspace = True variable in TestDialectValidity.test_quoting.mydialect
907 skipinitialspace = True variable in TestDialectValidity.test_delimiter.mydialect
948 skipinitialspace = True variable in TestDialectValidity.test_escapechar.mydialect
971 skipinitialspace = True variable in TestDialectValidity.test_lineterminator.mydialect
1106 self.assertIs(dialect.skipinitialspace, False)
[all …]
/third_party/python/Doc/library/
Dcsv.rst413 .. attribute:: Dialect.skipinitialspace
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst3798 Attributes *skipinitialspace*, *doublequote* and *strict* of the *dialect*