Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/python/cpython2/Lib/
Dcsv.py41 skipinitialspace = None variable in Dialect
62 skipinitialspace = False variable in excel
181 quotechar, doublequote, delimiter, skipinitialspace = \
184 delimiter, skipinitialspace = self._guess_delimiter(sample,
200 dialect.skipinitialspace = skipinitialspace
258 skipinitialspace = delims[delim] == spaces
264 skipinitialspace = 0
279 return (quotechar, doublequote, delim, skipinitialspace)
357 skipinitialspace = (data[0].count(delim) ==
359 return (delim, skipinitialspace)
[all …]
/external/python/cpython2/Modules/
D_csv.c101 int skipinitialspace; /* ignore spaces following delimiter? */ member
307 { "skipinitialspace", T_INT, D_OFF(skipinitialspace), READONLY },
353 PyObject *skipinitialspace = NULL; in dialect_new() local
365 &skipinitialspace, in dialect_new()
385 skipinitialspace == 0 && in dialect_new()
403 Py_XINCREF(skipinitialspace); in dialect_new()
415 DIALECT_GETATTR(skipinitialspace, "skipinitialspace"); in dialect_new()
430 DIASET(_set_bool, "skipinitialspace", &self->skipinitialspace, skipinitialspace, 0); in dialect_new()
464 Py_XDECREF(skipinitialspace); in dialect_new()
637 else if (c == ' ' && dialect->skipinitialspace) in parse_process_char()
/external/python/cpython3/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()
/external/python/cpython3/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 …]
/external/python/cpython2/Lib/test/
Dtest_csv.py56 self.assertEqual(obj.dialect.skipinitialspace, False)
75 quoting=csv.QUOTE_NONE, skipinitialspace=True,
84 self.assertEqual(obj.dialect.skipinitialspace, True)
102 skipinitialspace=True variable in Test_Csv._test_dialect_attrs.dialect
112 self.assertEqual(obj.dialect.skipinitialspace, True)
891 skipinitialspace = True variable in TestDialectValidity.test_quoting.mydialect
925 skipinitialspace = True variable in TestDialectValidity.test_delimiter.mydialect
960 skipinitialspace = True variable in TestDialectValidity.test_lineterminator.mydialect
1046 self.assertIs(dialect.skipinitialspace, False)
1053 self.assertEqual(dialect.skipinitialspace, True)
[all …]
/external/python/cffi/demo/
Dfastcsv.py18 'skipinitialspace': int(dialect.skipinitialspace),
/external/python/cpython3/Doc/library/
Dcsv.rst413 .. attribute:: Dialect.skipinitialspace
/external/python/cpython2/Doc/library/
Dcsv.rst385 .. attribute:: Dialect.skipinitialspace
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a1.rst3798 Attributes *skipinitialspace*, *doublequote* and *strict* of the *dialect*