This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients aldwinaldwin, holdenweb, steven.daprano, v+python
Date 2019-07-03.09:19:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562145569.41.0.935005406205.issue37490@roundup.psfhosted.org>
In-reply-to
Content
Perhaps it would help if we spelled out the behaviour more explicitly?


str.startswith(prefix[, start=0[, end=len(string)]])

    Return True if the slice of string between start (defaults to the beginning of the string) and end (defaults to the end of the string) starts with the prefix, otherwise return False. prefix can also be a tuple of prefixes to look for.


(To be frank, I don't think we need to do this, I think the docs are fine as-is, but if others disagree perhaps this is an improvment.)
History
Date User Action Args
2019-07-03 09:19:29steven.dapranosetrecipients: + steven.daprano, holdenweb, v+python, aldwinaldwin
2019-07-03 09:19:29steven.dapranosetmessageid: <1562145569.41.0.935005406205.issue37490@roundup.psfhosted.org>
2019-07-03 09:19:29steven.dapranolinkissue37490 messages
2019-07-03 09:19:29steven.dapranocreate