list index()

Thorsten Kampe thorsten at thorstenkampe.de
Mon Sep 3 20:51:50 CEST 2007


* Ben Finney (Thu, 30 Aug 2007 18:02:15 +1000)
> Bruno Desthuilliers <bruno.42.desthuilliers at wtf.websiteburo.oops.com> writes:
> > What's with using your brain instead of whining ?
> 
> Now now, no need for snappiness.

Actually there was. The OP's claim
| There are a million situations where you can have an item not be in
| a list and it is not an exception situation.

...is just plain nonsense. zzbbaadd neither does understand exceptions 
nor what they are used for in Python. An item not being in a list is 
an exception situation /by definition/.

Thorsten



More information about the Python-list mailing list