'Standard list insert method'

def insert(self, index, val):

    if (not isinstance(index, (int, long))):
        raise TypeError(('%s    is    not    a    legal    index' % index))
    self[index:index] = [val]
