FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-106318: Add examples for str.partition() method by adorilson · Pull Request #142823 · python/cpython · GitHub

Repository navigation

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

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

hugovk merged 4 commits into
python:mainfrom
adorilson:106318.partition

Conversation

adorilson commented Dec 16, 2025 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

WIP to #106318

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


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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Contributor Author

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

Done.

hugovk merged commit 432ddd9 into python:main Feb 8, 2026
28 checks passed
hugovk added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Feb 8, 2026
github-project-automation Bot moved this from Todo to Done in Docs PRs Feb 8, 2026

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

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

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 Bot commented Feb 8, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Feb 8, 2026

bedevere-app Bot commented Feb 8, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Feb 8, 2026

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>

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 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL