'Standard list index method'

def index(self, val):

    for i in xrange(0, len(self)):
        if (self[i] == val):
            return i
    raise ValueError(('%s    not    found    in    object' % str(val)))
