Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
The current docs could certainly use clarification. FWIW, here is a link to my explanation for the existing logic in str.replace(): https://stackoverflow.com/questions/16645083 Perhaps some of that wording may be helpful. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28029> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com