Mark Dickinson <[email protected]> added the comment:
No, but they take tuples:
>>> 'abcd'.endswith(('a', 'b'))
False
>>> 'abcd'.endswith(('c', 'd'))
True
Suggest closing as out of date.
----------
nosy: +mark.dickinson
type: behavior -> enhancement
versions: +Python 3.3 -Python 3.1
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13755>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com