Lines Matching refs:sep

10066     PyObject *sep = NULL;
10094 /* Set up sep and seplen */
10097 sep = PyUnicode_FromOrdinal(' ');
10098 if (!sep)
10113 sep = separator;
10118 Py_INCREF(sep);
10120 last_obj = sep;
10177 sep_data = PyUnicode_1BYTE_DATA(sep);
10211 _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10224 Py_XDECREF(sep);
10229 Py_XDECREF(sep);
12663 do_argstrip(PyObject *self, int striptype, PyObject *sep)
12665 if (sep != Py_None) {
12666 if (PyUnicode_Check(sep))
12667 return _PyUnicode_XStrip(self, striptype, sep);
13147 PyUnicode_Split(PyObject *s, PyObject *sep, Py_ssize_t maxsplit)
13149 if (ensure_unicode(s) < 0 || (sep != NULL && ensure_unicode(sep) < 0))
13152 return split(s, sep, maxsplit);
13158 sep: object = None
13168 Return a list of the substrings in the string, using sep as the separator string.
13177 unicode_split_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit)
13180 if (sep == Py_None)
13182 if (PyUnicode_Check(sep))
13183 return split(self, sep, maxsplit);
13187 Py_TYPE(sep)->tp_name);
13297 sep: object
13311 unicode_partition(PyObject *self, PyObject *sep)
13314 return PyUnicode_Partition(self, sep);
13331 unicode_rpartition(PyObject *self, PyObject *sep)
13334 return PyUnicode_RPartition(self, sep);
13338 PyUnicode_RSplit(PyObject *s, PyObject *sep, Py_ssize_t maxsplit)
13340 if (ensure_unicode(s) < 0 || (sep != NULL && ensure_unicode(sep) < 0))
13343 return rsplit(s, sep, maxsplit);
13349 Return a list of the substrings in the string, using sep as the separator string.
13355 unicode_rsplit_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit)
13358 if (sep == Py_None)
13360 if (PyUnicode_Check(sep))
13361 return rsplit(self, sep, maxsplit);
13365 Py_TYPE(sep)->tp_name);