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 v+python
Recipients v+python
Date 2019-07-03.05:06:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562130397.83.0.301067899684.issue37490@roundup.psfhosted.org>
In-reply-to
Content
Or is 

text.startswith(('day', 'month', 'year'), 8, 12)

the same as

text[8:12] in ('day', 'month', 'year')


What happens if the text doesn't have as many as 12 characters? What if it doesn't have more than 8 characters?
History
Date User Action Args
2019-07-03 05:06:37v+pythonsetrecipients: + v+python
2019-07-03 05:06:37v+pythonsetmessageid: <1562130397.83.0.301067899684.issue37490@roundup.psfhosted.org>
2019-07-03 05:06:37v+pythonlinkissue37490 messages
2019-07-03 05:06:37v+pythoncreate