]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104683: Modernise `clinic.py` using `str.removeprefix` and `str.removesuffix`...
authorAlex Waygood <Alex.Waygood@Gmail.com>
Sat, 20 May 2023 11:08:28 +0000 (12:08 +0100)
committerGitHub <noreply@github.com>
Sat, 20 May 2023 11:08:28 +0000 (11:08 +0000)
commit663c049ff78a299bdf7c1a0444b9900e6d37372d
tree00df391540dfbb2abeeb04c0dbc9967dae1f96c7
parentae147d01a005e0a65510a605762d1ff79f3affb9
gh-104683: Modernise `clinic.py` using `str.removeprefix` and `str.removesuffix` (#104685)

Both methods were new in Python 3.9.
Tools/clinic/clinic.py