Uh oh!
There was an error while loading. Please reload this page.
gh-153630: Add remove{prefix,suffix}() to the str method summary - #153629
Conversation
The "Text and Binary Sequence Type Methods Summary" section did not include the `removeprefix` and `removesuffix` functions, which were present later on in the "String Methods" section and the "Bytes and Bytearray Operations" section This is a small change that rectifies that.
Documentation build overview
|
Uh oh!
There was an error while loading. Please reload this page.
remove{prefix,suffix}() to the str method summaryremove{prefix,suffix}() to the str method summaryremove{prefix,suffix}() to the str method summaryUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Stan Ulbrych <stan@python.org>
Uh oh!
There was an error while loading. Please reload this page.
StanFromIreland
commented
Jul 15, 2026
Merged, thanks. |
Thanks @darida12321 for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, @darida12321 and @StanFromIreland, I could not cleanly backport this to |
GH-153778 is a backport of this pull request to the 3.15 branch. |
GH-153779 is a backport of this pull request to the 3.14 branch. |
StanFromIreland
commented
Jul 15, 2026
Can you please do 3.13 backport? |
The "Text and Binary Sequence Type Methods Summary" section did not include the
removeprefix()andremovesuffix()functions, which were present later on in the "String Methods" section and the "Bytes and Bytearray Operations" sectionThis is a small documentation change that rectifies that.
removeprefix()andremovesuffix()not appearing in String Methods Summary #153630