mirror of https://github.com/python/cpython
a81849b031
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. |
||
---|---|---|
.. | ||
Build | ||
C API | ||
Core and Builtins | ||
Documentation | ||
IDLE | ||
Library | ||
Security | ||
Tests | ||
Tools-Demos | ||
Windows | ||
macOS |