Searched refs:deletechars (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Objects/clinic/ |
D | bytesobject.c.h | 363 PyObject *deletechars); 374 PyObject *deletechars = NULL; in bytes_translate() local 384 deletechars = args[1]; in bytes_translate() 386 return_value = bytes_translate_impl(self, table, deletechars); in bytes_translate()
|
D | bytearrayobject.c.h | 138 PyObject *deletechars); 149 PyObject *deletechars = NULL; in bytearray_translate() local 159 deletechars = args[1]; in bytearray_translate() 161 return_value = bytearray_translate_impl(self, table, deletechars); in bytearray_translate()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 2103 PyObject *deletechars) in bytes_translate_impl() argument 2139 if (deletechars != NULL) { in bytes_translate_impl() 2140 if (PyBytes_Check(deletechars)) { in bytes_translate_impl() 2141 del_table_chars = PyBytes_AS_STRING(deletechars); in bytes_translate_impl() 2142 dellen = PyBytes_GET_SIZE(deletechars); in bytes_translate_impl() 2145 if (PyObject_GetBuffer(deletechars, &del_table_view, PyBUF_SIMPLE) != 0) { in bytes_translate_impl()
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 2017 PyObject *deletechars) in bytes_translate_impl() argument 2054 if (deletechars != NULL) { in bytes_translate_impl() 2055 if (PyBytes_Check(deletechars)) { in bytes_translate_impl() 2056 del_table_chars = PyBytes_AS_STRING(deletechars); in bytes_translate_impl() 2057 dellen = PyBytes_GET_SIZE(deletechars); in bytes_translate_impl() 2060 if (PyObject_GetBuffer(deletechars, &del_table_view, PyBUF_SIMPLE) != 0) { in bytes_translate_impl()
|
D | bytearrayobject.c | 1268 PyObject *deletechars) in bytearray_translate_impl() argument 1296 if (deletechars != NULL) { in bytearray_translate_impl() 1297 if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) { in bytearray_translate_impl() 1350 if (deletechars != NULL) in bytearray_translate_impl()
|
/external/python/cpython2/Doc/library/ |
D | string.rst | 1009 .. function:: translate(s, table[, deletechars]) 1011 Delete all characters from *s* that are in *deletechars* (if present), and then
|
D | stdtypes.rst | 1354 .. method:: str.translate(table[, deletechars]) 1357 argument *deletechars* are removed, and the remaining characters have been 1372 *deletechars* argument. Instead, it returns a copy of the *s* where all
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 513 [,deletechars]) table. 541 optional argument deletechars are removed prior to translation.
|