| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…method doc str.removesuffix() docs have their own examples.
Co-authored-by: Victor Stinner <vstinner@python.org>
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
|
||
| See :meth:`str.removesuffix` for a method that will remove a single suffix | ||
| string rather than all of a set of characters. For example:: | ||
| See also :meth:`strip` and :meth:`removesuffix`. |
There was a problem hiding this comment.
We should keep the original for these lines.
Sorry, something went wrong.
There was a problem hiding this comment.
I agree. I like these 'Monty Python' examples, I would also prefer to keep them.
Sorry, something went wrong.
There was a problem hiding this comment.
Done. With other improvements.
Sorry, something went wrong.
…split() method doc" This reverts commit 9fa3ecc. As asked by @nedbat on pythongh-143893
|
Merged, thanks. |
Sorry, something went wrong.
|
Thanks @adorilson for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
Thanks @adorilson for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
(cherry picked from commit 936d60d) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 936d60d) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
GH-144698 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
GH-144699 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
Merged, thanks. |
Sorry, something went wrong.
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
WIP to #106318
#106318: Improve str.rstrip() method doc
📚 Documentation preview 📚: https://cpython-previews--143893.org.readthedocs.build/