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 mark.dickinson
Recipients mark.dickinson, py.user
Date 2012-01-10.11:21:42
SpamBayes Score 0.06249744
Marked as misclassified No
Message-id <1326194503.44.0.525153535741.issue13755@psf.upfronthosting.co.za>
In-reply-to
Content
No, but they take tuples:

>>> 'abcd'.endswith(('a', 'b'))
False
>>> 'abcd'.endswith(('c', 'd'))
True

Suggest closing as out of date.
History
Date User Action Args
2012-01-10 11:21:43mark.dickinsonsetrecipients: + mark.dickinson, py.user
2012-01-10 11:21:43mark.dickinsonsetmessageid: <1326194503.44.0.525153535741.issue13755@psf.upfronthosting.co.za>
2012-01-10 11:21:42mark.dickinsonlinkissue13755 messages
2012-01-10 11:21:42mark.dickinsoncreate