def str_find_all(str,ch):
    result=[]
    index=0
    while 0 >= index:
        index=str.find(ch,index)
        if index>=0:
            result.append(index)
            index+=1
    return result
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/pyreadline/lineeditor/wordmatcher.py/str_find_all/swapped operands of `>=`