Staging
v0.5.1
https://github.com/python/cpython
Revision a81849b0315277bb3937271174aaaa5059c0b445 authored by sweeneyde on 22 April 2020, 21:05:48 UTC, committed by GitHub on 22 April 2020, 21:05:48 UTC
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.
1 parent 39652cd
Raw File
Tip revision: a81849b0315277bb3937271174aaaa5059c0b445 authored by sweeneyde on 22 April 2020, 21:05:48 UTC
bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939)
Tip revision: a81849b
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top