Stefan Behnel <stefan...@behnel.de> added the comment:
> That example is especially problematic. No, it's not. It uses .findall(), which returns a list. It's like when you make a copy of a list to iterate over, when you want to modify the original list in the loop. That could be made explicit in the text that introduces the example, but I think it's a very good example. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41892> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com