diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index b3c4a01..636dfcc 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -4294,7 +4294,7 @@ PyObject *rsplit_char(PyUnicodeObject *self, } else i--; } - if (j >= 0) { + if (j >= -1) { SPLIT_INSERT(self->str, 0, j + 1); } return list; |