docs: def PrintRanges(type, name, ranges):
    """Print the ranges as an array of type named name."""
    print "static const %s %s[] = {" % (type, name,)
    for lo, hi in ranges:
      print "\t{ %d, %d }," % (lo, hi)
    print "};"