Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-108318: Add example for str.endswith() #134529

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
Loading
from

Conversation

blaisep
Copy link
Contributor

@blaisep blaisep commented May 22, 2025

WIP to fix #106318 using the contributions from #105670


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


See also :meth:`rfind` and :meth:`index`.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should use :meth:`str.rfind` and :meth:`str.index` to link the methods of str.

@picnixz picnixz changed the title gh-108316: Add example for str.endswith() gh-108318: Add example for str.endswith() May 23, 2025
@Yzi-Li
Copy link
Contributor

Yzi-Li commented May 23, 2025

The issue number is 106318, not 108318. @picnixz

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.

Add examples to docs for str methods
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.