Skip to content

gh-106318: Improve str.removeprefix() and str.removesuffix() docs - #143580

Merged
vstinner merged 2 commits into
python:mainfrom
adorilson:106318.removesuffix
Jan 9, 2026
Merged

gh-106318: Improve str.removeprefix() and str.removesuffix() docs#143580
vstinner merged 2 commits into
python:mainfrom
adorilson:106318.removesuffix

Conversation

@adorilson

@adorilsonadorilson commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

WIP to #106318

#106318: Improve str.removeprefix() and str.removesuffix() docs.


📚 Documentation preview 📚: https://cpython-previews--143580.org.readthedocs.build/

@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news labels Jan 8, 2026
@adorilsonadorilson changed the title gh106318: Improve str.removeprefix() and str.removesuffix() docs gh-106318: Improve str.removeprefix() and str.removesuffix() docsJan 8, 2026
@vstinnervstinner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jan 9, 2026
@vstinner
vstinner merged commit 6d6c7ed into python:mainJan 9, 2026
39 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsJan 9, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @adorilson for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 9, 2026
…cs (pythonGH-143580)
Add doctest role and 'See also'.
(cherry picked from commit 6d6c7ed)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 9, 2026
…cs (pythonGH-143580)
Add doctest role and 'See also'.
(cherry picked from commit 6d6c7ed)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-143614 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 Jan 9, 2026
@bedevere-app

Copy link
Copy Markdown

GH-143615 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jan 9, 2026
@vstinner

Copy link
Copy Markdown
Member

Merged, thanks.

vstinner pushed a commit that referenced this pull request Jan 9, 2026
…ocs (GH-143580) (#143614)
gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580)
Add doctest role and 'See also'.
(cherry picked from commit 6d6c7ed)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
vstinner pushed a commit that referenced this pull request Jan 9, 2026
…ocs (GH-143580) (#143615)
gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580)
Add doctest role and 'See also'.
(cherry picked from commit 6d6c7ed)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@adorilson
adorilson deleted the 106318.removesuffix branch January 9, 2026 15:55
reidenong pushed a commit to reidenong/cpython that referenced this pull request Jan 12, 2026
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 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

@adorilson@vstinner