SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 8 Python

bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939)

Added str.removeprefix and str.removesuffix methods and corresponding
bytes, bytearray, and collections.UserString methods to remove affixes
from a string if present. See PEP 616 for a full description.
S
sweeneyde committed
a81849b0315277bb3937271174aaaa5059c0b445
Parent: 39652cd
Committed by GitHub <noreply@github.com> on 4/22/2020, 9:05:48 PM