/external/python/cpython2/Modules/ |
D | _csv.c | 99 char quotechar; /* quote character */ member 197 return get_nullchar_as_None(self->quotechar); in Dialect_get_quotechar() 351 PyObject *quotechar = NULL; in dialect_new() local 363 "echar, in dialect_new() 383 quotechar == 0 && in dialect_new() 401 Py_XINCREF(quotechar); in dialect_new() 413 DIALECT_GETATTR(quotechar, "quotechar"); in dialect_new() 428 DIASET(_set_char, "quotechar", &self->quotechar, quotechar, '"'); in dialect_new() 441 if (quotechar == Py_None && quoting == NULL) in dialect_new() 443 if (self->quoting != QUOTE_NONE && self->quotechar == 0) { in dialect_new() [all …]
|
/external/python/cpython3/Lib/ |
D | csv.py | 36 quotechar = None variable in Dialect 58 quotechar = '"' variable in excel 73 quotechar = '"' variable in unix_dialect 181 quotechar, doublequote, delimiter, skipinitialspace = \ 199 dialect.quotechar = quotechar or '"' 253 quotechar = max(quotes, key=quotes.get) 269 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE) 278 return (quotechar, doublequote, delim, skipinitialspace)
|
/external/python/cpython3/Modules/ |
D | _csv.c | 79 Py_UCS4 quotechar; /* quote character */ member 182 return get_nullchar_as_None(self->quotechar); in Dialect_get_quotechar() 340 PyObject *quotechar = NULL; in dialect_new() local 352 "echar, in dialect_new() 372 quotechar == NULL && in dialect_new() 390 Py_XINCREF(quotechar); in dialect_new() 402 DIALECT_GETATTR(quotechar, "quotechar"); in dialect_new() 417 DIASET(_set_char, "quotechar", &self->quotechar, quotechar, '"'); in dialect_new() 430 if (quotechar == Py_None && quoting == NULL) in dialect_new() 432 if (self->quoting != QUOTE_NONE && self->quotechar == 0) { in dialect_new() [all …]
|
/external/python/cpython2/Lib/ |
D | csv.py | 38 quotechar = None variable in Dialect 60 quotechar = '"' variable in excel 181 quotechar, doublequote, delimiter, skipinitialspace = \ 199 dialect.quotechar = quotechar or '"' 252 quotechar = reduce(lambda a, b, quotes = quotes: 270 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE) 279 return (quotechar, doublequote, delim, skipinitialspace)
|
/external/python/cpython3/Lib/test/ |
D | test_csv.py | 32 self.assertRaises(TypeError, ctor, arg, quotechar=1) 37 quoting=csv.QUOTE_ALL, quotechar='') 39 quoting=csv.QUOTE_ALL, quotechar=None) 54 self.assertEqual(obj.dialect.quotechar, '"') 74 lineterminator='\r', quotechar='*', 82 self.assertEqual(obj.dialect.quotechar, '*') 100 quotechar='#' variable in Test_Csv._test_dialect_attrs.dialect 110 self.assertEqual(obj.dialect.quotechar, '#') 292 quotechar=None, escapechar='\\') 838 mydialect.quotechar = '"' [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_csv.py | 32 self.assertRaises(TypeError, ctor, arg, quotechar=1) 37 quoting=csv.QUOTE_ALL, quotechar='') 39 quoting=csv.QUOTE_ALL, quotechar=None) 54 self.assertEqual(obj.dialect.quotechar, '"') 74 lineterminator='\r', quotechar='*', 82 self.assertEqual(obj.dialect.quotechar, '*') 100 quotechar='#' variable in Test_Csv._test_dialect_attrs.dialect 110 self.assertEqual(obj.dialect.quotechar, '#') 276 quotechar=None, escapechar='\\') 902 mydialect.quotechar = '"' [all …]
|
/external/python/cpython3/Doc/library/ |
D | csv.rst | 79 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|') 110 quotechar='|', quoting=csv.QUOTE_MINIMAL) 288 special characters such as *delimiter*, *quotechar* or any of the characters in 340 Controls how instances of *quotechar* appearing inside a field should 342 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It 346 :exc:`Error` is raised if a *quotechar* is found in a field. 352 is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* is 369 .. attribute:: Dialect.quotechar 372 as the *delimiter* or *quotechar*, or which contain new-line characters. It
|
/external/python/cpython2/Doc/library/ |
D | csv.rst | 82 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|') 123 quotechar='|', quoting=csv.QUOTE_MINIMAL) 289 special characters such as *delimiter*, *quotechar* or any of the characters in 342 Controls how instances of *quotechar* appearing inside a field should 344 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It 348 :exc:`Error` is raised if a *quotechar* is found in a field. 354 is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* is 371 .. attribute:: Dialect.quotechar 374 as the *delimiter* or *quotechar*, or which contain new-line characters. It
|
/external/toolchain-utils/automation/server/ |
D | machine_manager.py | 22 csv_file = csv.reader(open(filename, 'rb'), delimiter=',', quotechar='"')
|
/external/libxml2/include/libxml/ |
D | xmlwriter.h | 474 xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar);
|
/external/libxml2/ |
D | xmlwriter.c | 4623 xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar) in xmlTextWriterSetQuoteChar() argument 4625 if ((writer == NULL) || ((quotechar != '\'') && (quotechar != '"'))) in xmlTextWriterSetQuoteChar() 4628 writer->qchar = quotechar; in xmlTextWriterSetQuoteChar()
|
D | testapi.c | 44069 xmlChar quotechar; /* the quote character */ in test_xmlTextWriterSetQuoteChar() local 44076 quotechar = gen_xmlChar(n_quotechar, 1); in test_xmlTextWriterSetQuoteChar() 44078 ret_val = xmlTextWriterSetQuoteChar(writer, quotechar); in test_xmlTextWriterSetQuoteChar() 44082 des_xmlChar(n_quotechar, quotechar, 1); in test_xmlTextWriterSetQuoteChar()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.7rc1.rst | 685 csv.Dialect() now checks type for delimiter, escapechar and quotechar
|
/external/libxml2/os400/libxmlrpg/ |
D | xmlwriter.rpgle | 791 d quotechar value like(xmlChar)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2951 quotechar fields. Original patch by Vajrasky Kok. 19268 + quotechar=None and quoting=QUOTE_NONE now work the way PEP 305
|
/external/python/cpython2/Misc/ |
D | HISTORY | 1884 + quotechar=None and quoting=QUOTE_NONE now work the way PEP 305
|