Skip to content
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

description of startswith is confused #46019

Closed
mft mannequin opened this issue Dec 21, 2007 · 2 comments
Closed

description of startswith is confused #46019

mft mannequin opened this issue Dec 21, 2007 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@mft
Copy link
Mannequin

mft mannequin commented Dec 21, 2007

BPO 1678
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2007-12-21.12:13:57.935>
created_at = <Date 2007-12-21.09:38:06.255>
labels = ['docs']
title = 'description of startswith is confused'
updated_at = <Date 2007-12-21.12:13:57.922>
user = 'https://bugs.python.org/mft'

bugs.python.org fields:

activity = <Date 2007-12-21.12:13:57.922>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2007-12-21.12:13:57.935>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2007-12-21.09:38:06.255>
creator = 'mft'
dependencies = []
files = []
hgrepos = []
issue_num = 1678
keywords = []
message_count = 2.0
messages = ['58937', '58942']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'mft']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1678'
versions = ['Python 2.5']

@mft
Copy link
Mannequin Author

mft mannequin commented Dec 21, 2007

In the Library Reference 3.6.1 String Method, the description of
startswith is confused with endswith. It says:
prefix can also be a tuple of suffixes to look for.
Here, "suffixes" means "prefixes".

Note: This part is new for 2.5.

@mft mft mannequin added the docs Documentation in the Doc dir label Dec 21, 2007
@birkenfeld
Copy link
Member

This is already fixed in SVN and will be live with the next docs update.
Thanks for reporting!

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant