Searched refs:lineterminator (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Modules/ |
D | _csv.c | 100 PyObject *lineterminator; /* string to write between records */ member 168 Py_XINCREF(self->lineterminator); in Dialect_get_lineterminator() 169 return self->lineterminator; in Dialect_get_lineterminator() 399 PyObject *lineterminator = NULL; in dialect_new() local 411 &lineterminator, in dialect_new() 436 lineterminator == NULL && in dialect_new() 449 self->lineterminator = NULL; in dialect_new() 454 Py_XINCREF(lineterminator); in dialect_new() 471 DIALECT_GETATTR(lineterminator, "lineterminator"); in dialect_new() 485 DIASET(_set_str, "lineterminator", &self->lineterminator, lineterminator, "\r\n"); in dialect_new() [all …]
|
/third_party/python/Lib/test/ |
D | test_csv.py | 40 self.assertRaises(TypeError, ctor, arg, lineterminator=None) 41 self.assertRaises(TypeError, ctor, arg, lineterminator=1) 66 self.assertEqual(obj.dialect.lineterminator, "\r\n") 87 lineterminator='\r', quotechar='*', 94 self.assertEqual(obj.dialect.lineterminator, "\r") 112 lineterminator='$' variable in Test_Csv._test_dialect_attrs.dialect 122 self.assertEqual(obj.dialect.lineterminator, "$") 141 expect + writer.dialect.lineterminator) 874 lineterminator = '\r\n' variable in TestDialectValidity.test_quoting.mydialect 908 lineterminator = '\r\n' variable in TestDialectValidity.test_delimiter.mydialect [all …]
|
/third_party/python/Lib/ |
D | csv.py | 39 lineterminator = None variable in Dialect 60 lineterminator = '\r\n' variable in excel 75 lineterminator = '\n' variable in unix_dialect 191 lineterminator = '\r\n' variable in Sniffer.sniff.dialect
|
/third_party/python/Doc/tools/extensions/ |
D | suspicious.py | 81 lineterminator = '\n' variable in dialect
|
/third_party/python/Doc/library/ |
D | csv.rst | 319 *lineterminator*. 387 .. attribute:: Dialect.lineterminator 395 end-of-line, and ignores *lineterminator*. This behavior may change in the
|
/third_party/python/Tools/scripts/ |
D | stable_abi.py | 249 outfile, ['role', 'name', 'added', 'ifdef_note'], lineterminator='\n')
|