[issue13755] str.endswith and str.startswith do not take lists of strings

Eric V. Smith report at bugs.python.org
Tue Jan 10 13:34:47 CET 2012


Eric V. Smith <eric at trueblade.com> added the comment:

It seems like a set would make more sense than a tuple. And if tuples, why not lists?

Not that it matters much, since I doubt it's worth changing in either case. It's easy enough for the caller to convert.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13755>
_______________________________________


More information about the Python-bugs-list mailing list