list index()

Ben Finney bignose+hates-spam at
Thu Aug 30 10:04:50 CEST 2007

Ben Finney <bignose+hates-spam at> writes:

>     def get_an_index_even_if_not_found(the_list, the_item):

Bah. Should be "…(the_list, the_value):".

 \        "Don't worry about people stealing your ideas. If your ideas |
  `\    are any good, you'll have to ram them down people's throats."  |
_o__)                                                  -- Howard Aiken |
Ben Finney

More information about the Python-list mailing list