bisect
index
/usr/lib/python1.5/bisect.py
# Bisection algorithms