list index()

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Aug 30 04:04:50 EDT 2007


Ben Finney <bignose+hates-spam at benfinney.id.au> 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