Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
negative value is an implementation detail where count < 0 is similar to replace all [0]. See also issue5416 [0] https://github.com/python/cpython/blob/43682f1e39a3c61f0e8a638b887bcdcbfef766c5/Objects/unicodeobject.c#L10578 ---------- nosy: +rhettinger, xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39304> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com