aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsweeneyde <36520290+sweeneyde@users.noreply.github.com>2020-04-22 17:05:48 -0400
committerGitHub <noreply@github.com>2020-04-22 23:05:48 +0200
commita81849b0315277bb3937271174aaaa5059c0b445 (patch)
tree8184e6ab012aa217b5cc1bb242efc6aed531db7d /Tools/peg_generator/scripts/benchmark.py
parentbpo-40260: Remove unnecessary newline in compile() call (GH-19641) (diff)
downloadcpython-a81849b0315277bb3937271174aaaa5059c0b445.tar.gz
cpython-a81849b0315277bb3937271174aaaa5059c0b445.tar.bz2
cpython-a81849b0315277bb3937271174aaaa5059c0b445.zip
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.
Diffstat (limited to 'Tools/peg_generator/scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions