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

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

python-cla-bot Bot 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-community Bot commented Jul 12, 2026

Copy link
Copy Markdown

@darida12321 darida12321 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 thread Doc/library/stdtypes.rst Outdated
@StanFromIreland StanFromIreland 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 summary Jul 15, 2026
@StanFromIreland StanFromIreland changed the title gh-153630 Add remove{prefix,suffix}() to the str method summary gh-153630: Add remove{prefix,suffix}() to the str method summary Jul 15, 2026
Comment thread Doc/library/stdtypes.rst Outdated
Comment thread Doc/library/stdtypes.rst Outdated
Co-authored-by: Stan Ulbrych <stan@python.org>

@StanFromIreland StanFromIreland 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

@StanFromIreland StanFromIreland 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:main Jul 15, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 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

bedevere-app Bot commented Jul 15, 2026

Copy link
Copy Markdown

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

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

bedevere-app Bot commented Jul 15, 2026

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants