list index()

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Sep 5 05:11:42 CEST 2007

In message <1188886461.236237.168230 at>, Jason

> The reason why the exception is more Pythonic is that the return value
> is always a guaranteed good index into the list.

How do you explain dict.get, then?

More information about the Python-list mailing list