On Dec 2, 10:09 pm, Chris <[EMAIL PROTECTED]> wrote:
> On Dec 2, 3:01 am, alex23 <[EMAIL PROTECTED]> wrote:
> > The only time I'd expect it to do partial matches is if you were doing
> > string.index(string), rather than list.index(string):

> It would if the OP was iterating over the list and checking that item
> with .index so it uses the string.index instead of list.index

Which is what I was implying when I wrote "The only time I'd expect it
to do partial matches is if you were doing string.index(string),
rather than list.index(string)", oddly enough :)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to