Content-Length: 282836 | pFad | http://github.com/python/cpython/pull/134523

18 gh-106318: Add example for `str.endswith()` by blaisep · Pull Request #134523 · python/cpython · GitHub
Skip to content

gh-106318: Add example for str.endswith() #134523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

blaisep
Copy link
Contributor

@blaisep blaisep commented May 22, 2025

WIP for #106318 using the contributions from #105670


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

WIP to fix python#106318 using the contributions from python#105670
@@ -1834,7 +1834,19 @@ expression support in the :mod:`re` module).
Return ``True`` if the string ends with the specified *suffix*, otherwise return
``False``. *suffix* can also be a tuple of suffixes to look for. With optional
*start*, test beginning at that position. With optional *end*, stop comparing
at that position.
at that position. Use the *start* and *end* is equivalent to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
at that position. Use the *start* and *end* is equivalent to
at that position. Using *start* and *end* is equivalent to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/134523

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy