Searched refs:skipinitialspace (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | csv.py | 41 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.c | 101 int skipinitialspace; /* ignore spaces following delimiter? */ member 303 { "skipinitialspace", T_INT, D_OFF(skipinitialspace), READONLY }, 349 PyObject *skipinitialspace = NULL; in dialect_new() local 361 &skipinitialspace, in dialect_new() 381 skipinitialspace == 0 && in dialect_new() 399 Py_XINCREF(skipinitialspace); in dialect_new() 411 DIALECT_GETATTR(skipinitialspace, "skipinitialspace"); in dialect_new() 426 DIASET(_set_bool, "skipinitialspace", &self->skipinitialspace, skipinitialspace, 0); in dialect_new() 460 Py_XDECREF(skipinitialspace); in dialect_new() 634 else if (c == ' ' && dialect->skipinitialspace) in parse_process_char()
|
/external/python/cpython2/Lib/test/ |
D | test_csv.py | 56 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 1044 self.assertEqual(dialect.skipinitialspace, True) 1049 self.assertEqual(dialect.skipinitialspace, False)
|
/external/python/cpython2/Doc/library/ |
D | csv.rst | 385 .. attribute:: Dialect.skipinitialspace
|