Home
last modified time | relevance | path

Searched refs:lineterminator (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Modules/
D_csv.c100 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/
Dtest_csv.py40 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/
Dcsv.py39 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/
Dsuspicious.py81 lineterminator = '\n' variable in dialect
/third_party/python/Doc/library/
Dcsv.rst319 *lineterminator*.
387 .. attribute:: Dialect.lineterminator
395 end-of-line, and ignores *lineterminator*. This behavior may change in the
/third_party/python/Tools/scripts/
Dstable_abi.py249 outfile, ['role', 'name', 'added', 'ifdef_note'], lineterminator='\n')