Skip to content

Conversation

@adorilson
Copy link
Contributor

@adorilson adorilson commented Jan 31, 2026

WIP to #106318

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


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

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Jan 31, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jan 31, 2026
@StanFromIreland StanFromIreland changed the title gh-106318: Add examples for str.startwith() method gh-106318: Add examples for str.startswith() method Feb 1, 2026
Comment on lines +2744 to +2745
>>> 'a tuple of prefixes'.startswith(('at', 'in'))
False
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
>>> 'a tuple of prefixes'.startswith(('at', 'in'))
False

IMO we don't need two examples with a tuple.

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