[issue24047] str.startswith and str.endswith should accept multiple arguments.
Serhiy Storchaka
report at bugs.python.org
Fri Apr 24 09:09:58 CEST 2015
Serhiy Storchaka added the comment:
This proposition conflicts with optional parameters of str.startswith().
>>> 'test'.startswith(('a', 'b', 'c'), 1, 3)
False
----------
nosy: +serhiy.storchaka
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24047>
_______________________________________
More information about the Python-bugs-list
mailing list