update ranges data
pep257
fix tests