Skip to content

gh-106318: Add examples for str.partition() method - #142823

Merged
hugovk merged 4 commits into
python:mainfrom
adorilson:106318.partition
Feb 8, 2026
Merged

gh-106318: Add examples for str.partition() method#142823
hugovk merged 4 commits into
python:mainfrom
adorilson:106318.partition

Conversation

@adorilson

@adorilsonadorilson commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

WIP to #106318

#106318: Add examples for str.partition() method


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

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

I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.

@adorilson

Copy link
Copy Markdown
ContributorAuthor

I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.

Done.

@hugovk
hugovk merged commit 432ddd9 into python:mainFeb 8, 2026
28 checks passed
@hugovkhugovk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Feb 8, 2026
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsFeb 8, 2026
@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-144611 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 Feb 8, 2026
@bedevere-app

Copy link
Copy Markdown

GH-144612 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 Feb 8, 2026
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 8, 2026
…2823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@miss-islington-app

This comment was marked as outdated.

hugovk pushed a commit that referenced this pull request Feb 8, 2026
…#144612)
gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Feb 8, 2026
…#144611)
gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd9)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@adorilson
adorilson deleted the 106318.partition branch February 11, 2026 17:40
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 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.

3 participants

@adorilson@StanFromIreland@hugovk