diff options
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 5d57f15566..75325ab84a 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -1548,7 +1548,7 @@ string_partition(PyStringObject *self, PyObject *sep_obj) else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) return NULL; - return partition( + return stringlib_partition( (PyObject*) self, PyString_AS_STRING(self), PyString_GET_SIZE(self), sep_obj, sep, sep_len @@ -1579,7 +1579,7 @@ string_rpartition(PyStringObject *self, PyObject *sep_obj) else if (PyObject_AsCharBuffer(sep_obj, &sep, &sep_len)) return NULL; - return rpartition( + return stringlib_rpartition( (PyObject*) self, PyString_AS_STRING(self), PyString_GET_SIZE(self), sep_obj, sep, sep_len |