Vedran Čačić <ved...@gmail.com> added the comment: > fix typically isn't replacing s[i] with s[i - 5]
... especially since that will still raise IndexError (in case when i==15 and len(s)==10). ;-P ---------- nosy: +veky _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44166> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com