Uh oh!
There was an error while loading. Please reload this page.
gh-106318: Add examples for str.partition() method - #142823
Conversation
StanFromIreland
left a comment
There was a problem hiding this comment.
I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.
adorilson
commented
Jan 11, 2026
Done. |
Uh oh!
There was an error while loading. Please reload this page.
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
GH-144611 is a backport of this pull request to the 3.14 branch. |
GH-144612 is a backport of this pull request to the 3.13 branch. |
WIP to #106318
#106318: Add examples for str.partition() method
📚 Documentation preview 📚: https://cpython-previews--142823.org.readthedocs.build/