[].index() raises ValueError if the value is not in the list, so only
catch that instead of using a bare except clause.
F
Fred Drake committed
ef4cdad0905c55d921d899cb8b91e58ec6beeb80
Parent: 7def256
catch that instead of using a bare except clause.