Closed
Description
I'd like to request that PEP 616 be reviewed by the Steering Council.
Title: String methods to remove prefixes and suffixes
Abstract: This is a proposal to add two new methods, removeprefix() and removesuffix(), to the APIs of Python's various string objects. These methods would remove a prefix or suffix (respectively) from a string, if present, and would be added to Unicode str objects, binary bytes and bytearray objects, and collections.UserString.
Links:
-
- More discussions linked in PEP
Metadata
Metadata
Assignees
Labels
No labels