Home
last modified time | relevance | path

Searched refs:escapechar (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_csv.py52 self.assertEqual(obj.dialect.escapechar, None)
73 kwargs = dict(delimiter=':', doublequote=False, escapechar='\\',
80 self.assertEqual(obj.dialect.escapechar, '\\')
98 escapechar='^' variable in Test_Csv._test_dialect_attrs.dialect
108 self.assertEqual(obj.dialect.escapechar, '^')
187 escapechar='\\')
189 escapechar=None, doublequote=False)
191 escapechar='\\', doublequote = False)
193 escapechar='\\', quoting = csv.QUOTE_MINIMAL)
195 escapechar='\\', quoting = csv.QUOTE_MINIMAL,
[all …]
/external/python/cpython3/Lib/test/
Dtest_csv.py64 self.assertEqual(obj.dialect.escapechar, None)
85 kwargs = dict(delimiter=':', doublequote=False, escapechar='\\',
92 self.assertEqual(obj.dialect.escapechar, '\\')
110 escapechar='^' variable in Test_Csv._test_dialect_attrs.dialect
120 self.assertEqual(obj.dialect.escapechar, '^')
190 escapechar='\\')
192 escapechar=None, doublequote=False)
194 escapechar='\\', doublequote = False)
196 escapechar='\\', quoting = csv.QUOTE_MINIMAL)
198 escapechar='\\', quoting = csv.QUOTE_MINIMAL,
[all …]
/external/python/cpython2/Modules/
D_csv.c100 char escapechar; /* escape character */ member
191 return get_nullchar_as_None(self->escapechar); in Dialect_get_escapechar()
349 PyObject *escapechar = NULL; in dialect_new() local
361 &escapechar, in dialect_new()
381 escapechar == 0 && in dialect_new()
399 Py_XINCREF(escapechar); in dialect_new()
411 DIALECT_GETATTR(escapechar, "escapechar"); in dialect_new()
426 DIASET(_set_char, "escapechar", &self->escapechar, escapechar, 0); in dialect_new()
460 Py_XDECREF(escapechar); in dialect_new()
633 else if (c == dialect->escapechar) { in parse_process_char()
[all …]
/external/python/cpython3/Modules/
D_csv.c90 Py_UCS4 escapechar; /* escape character */ member
183 return get_nullchar_as_None(self->escapechar); in Dialect_get_escapechar()
345 PyObject *escapechar = NULL; in dialect_new() local
357 &escapechar, in dialect_new()
377 escapechar == NULL && in dialect_new()
395 Py_XINCREF(escapechar); in dialect_new()
407 DIALECT_GETATTR(escapechar, "escapechar"); in dialect_new()
422 DIASET(_set_char, "escapechar", &self->escapechar, escapechar, 0); in dialect_new()
456 Py_XDECREF(escapechar); in dialect_new()
623 else if (c == dialect->escapechar) { in parse_process_char()
[all …]
/external/python/cffi/demo/
Dfastcsv.py23 if dialect.escapechar is not None:
24 d['is_escape_char'] = '== %d' % ord(dialect.escapechar)
/external/fonttools/Lib/fontTools/misc/
DxmlWriter.py180 def escapechar(c): function
186 return strjoin(map(escapechar, data.decode('latin-1')))
/external/python/cpython3/Doc/library/
Dcsv.rst306 *delimiter* occurs in output data it is preceded by the current *escapechar*
307 character. If *escapechar* is not set, the writer will raise :exc:`Error` if
346 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It
349 On output, if *doublequote* is :const:`False` and no *escapechar* is set,
353 .. attribute:: Dialect.escapechar
357 :const:`False`. On reading, the *escapechar* removes any special meaning from
/external/python/cpython2/Doc/library/
Dcsv.rst303 *delimiter* occurs in output data it is preceded by the current *escapechar*
304 character. If *escapechar* is not set, the writer will raise :exc:`Error` if
344 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It
347 On output, if *doublequote* is :const:`False` and no *escapechar* is set,
351 .. attribute:: Dialect.escapechar
355 :const:`False`. On reading, the *escapechar* removes any special meaning from
/external/python/cpython3/Lib/
Dcsv.py36 escapechar = None variable in Dialect
/external/python/cpython2/Lib/
Dcsv.py39 escapechar = None variable in Dialect
/external/python/cpython2/Misc/NEWS.d/
D2.7.7rc1.rst685 csv.Dialect() now checks type for delimiter, escapechar and quotechar
/external/e2fsprogs/doc/
Dtexinfo.tex733 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
3225 \escapechar = `\\ % use backslash in output files.
3678 \escapechar = `\\
4868 \escapechar=`\\
5659 \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
7206 @escapechar = `@@
/external/e2fsprogs/lib/et/
Dtexinfo.tex733 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
3225 \escapechar = `\\ % use backslash in output files.
3678 \escapechar = `\\
4868 \escapechar=`\\
5659 \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
7206 @escapechar = `@@
/external/libffi/
Dtexinfo.tex693 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
4370 \escapechar = `\\ % use backslash in output files.
4922 \escapechar = `\\
6257 \escapechar=`\\
7216 \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
10042 @escapechar = `@@
/external/python/cpython2/Modules/_ctypes/libffi/
Dtexinfo.tex693 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
4370 \escapechar = `\\ % use backslash in output files.
4922 \escapechar = `\\
6257 \escapechar=`\\
7216 \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
10042 @escapechar = `@@
/external/mtools/
Dtexinfo.tex707 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
5458 % the current value of \escapechar.
5459 \def\escapeisbackslash{\escapechar=`\\}
11737 @escapechar = `@@
/external/python/cpython3/Misc/
DHISTORY2950 - Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
19270 + the parser now removes the escapechar prefix from escaped characters.
/external/python/cpython2/Misc/
DHISTORY1886 + the parser now removes the escapechar prefix from escaped characters.