[Python-ideas] str.startswith taking any iterator instead of just tuple
Alexander Heger
python at 2sn.net
Fri Jan 3 01:19:51 CET 2014
>> isinstance(x, Iterable) and not isinstance(x, str)
>
> If you find yourself typing that a lot I think you have a bigger problem though.
How do you replace this?
More information about the Python-ideas
mailing list