Skip to content

gh-153630: Add remove{prefix,suffix}() to the str method summary - #153629

Merged
StanFromIreland merged 4 commits into
python:mainfrom
darida12321:patch-1
Jul 15, 2026
Merged

gh-153630: Add remove{prefix,suffix}() to the str method summary#153629
StanFromIreland merged 4 commits into
python:mainfrom
darida12321:patch-1

Conversation

@darida12321

@darida12321darida12321 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

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 documentation change that rectifies that.

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.
@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news labels Jul 12, 2026
@python-cla-bot

python-cla-botBot commented Jul 12, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

read-the-docs-communityBot commented Jul 12, 2026

Copy link
Copy Markdown

@darida12321darida12321 changed the title Add removeprefix() and removesuffix() to the str method summary documentation.gh-153630 Add removeprefix() and removesuffix() to the str method summary documentation.Jul 12, 2026
Comment threadDoc/library/stdtypes.rst Outdated
@StanFromIrelandStanFromIreland changed the title gh-153630 Add removeprefix() and removesuffix() to the str method summary documentation.gh-153630 Add remove{prefix,suffix}() to the str method summaryJul 15, 2026
@StanFromIrelandStanFromIreland changed the title gh-153630 Add remove{prefix,suffix}() to the str method summarygh-153630: Add remove{prefix,suffix}() to the str method summaryJul 15, 2026
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
Co-authored-by: Stan Ulbrych <stan@python.org>

@StanFromIrelandStanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StanFromIrelandStanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 15, 2026
@StanFromIreland
StanFromIreland merged commit b4662e8 into python:mainJul 15, 2026
40 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsJul 15, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

Merged, thanks.

@miss-islington-app

Copy link
Copy Markdown

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.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @darida12321 and @StanFromIreland, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b4662e8e3b60a264486130a171047c7381f993f0 3.13

@bedevere-app

Copy link
Copy Markdown

GH-153778 is a backport of this pull request to the 3.15 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 15, 2026
@bedevere-app

Copy link
Copy Markdown

GH-153779 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Jul 15, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

Can you please do 3.13 backport?

StanFromIreland added a commit that referenced this pull request Jul 15, 2026
…od summary (GH-153629) (#153779)
(cherry picked from commit b4662e8)
Co-authored-by: darida12321 <73121369+darida12321@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Jul 15, 2026
…od summary (GH-153629) (#153778)
(cherry picked from commit b4662e8)
Co-authored-by: darida12321 <73121369+darida12321@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
@StanFromIrelandStanFromIreland removed the needs backport to 3.13 bugs and security fixes label Jul 18, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@darida12321@StanFromIreland