Open r-barnes opened 3 months ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Motivation
.rstrip(".pth")
will convertpthhtp.pth
to the empty string. This is a bug.removesuffix
does the right thing, but works only from Python 3.10 up.Modification
rstrip
->removesuffix
BC-breaking (Optional)
Only works with Python 3.10+.
Use cases (Optional)
N/A
Checklist