Irit Katriel <iritkatr...@yahoo.com> added the comment:
In python 3.9 there is also str.removeprefix: https://docs.python.org/3/library/stdtypes.html#str.removeprefix which you can apply in a loop. ---------- components: +Library (Lib) nosy: +iritkatriel _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39418> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com