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 vivekvashist
Recipients AlexWaygood, docs@python, rhettinger, vivekvashist
Date 2021-12-17.21:20:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639776050.68.0.540958830872.issue46092@roundup.psfhosted.org>
In-reply-to
Content
Noticed that new removeprefix() and removesuffix() functions that were added in 3.9 have slash notation added in Built-in Types document.

str.removeprefix(prefix, /)
str.removesuffix(suffix, /)

https://docs.python.org/3/library/stdtypes.html#str.removeprefix
https://docs.python.org/3/library/stdtypes.html#str.removesuffix
History
Date User Action Args
2021-12-17 21:20:50vivekvashistsetrecipients: + vivekvashist, rhettinger, docs@python, AlexWaygood
2021-12-17 21:20:50vivekvashistsetmessageid: <1639776050.68.0.540958830872.issue46092@roundup.psfhosted.org>
2021-12-17 21:20:50vivekvashistlinkissue46092 messages
2021-12-17 21:20:50vivekvashistcreate