This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, rhettinger, senji, steven.daprano
Date 2021-03-26.00:22:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616718152.43.0.208965235748.issue39418@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-26 00:22:32iritkatrielsetrecipients: + iritkatriel, rhettinger, steven.daprano, senji
2021-03-26 00:22:32iritkatrielsetmessageid: <1616718152.43.0.208965235748.issue39418@roundup.psfhosted.org>
2021-03-26 00:22:32iritkatriellinkissue39418 messages
2021-03-26 00:22:32iritkatrielcreate