[Python-ideas] str.find() and friends support a lists of inputs

Terry Reedy tjreedy at udel.edu
Fri Apr 18 03:46:15 CEST 2014


On 4/17/2014 4:28 PM, Ryan Hiebert wrote:
> I like the idea.

The idea depends on being able to iterate through strings.

 > I agree with the assertion that has been discussed
> previously that a string really shouldn't be iterable.

...except when they should be. This assertion is off-topic for 
python-ideas. If you bring it up on python-list, I will say more.

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list