def _exponent_of(what, desc):
    exp = None
    for i in xrange(len(_pows)):
        if what // _pows[i] == 0L:
            exp = i - 1
            break
    if exp is None or exp < 0:
        raise dns.exception.SyntaxError(desc % "%s value out of bounds")
    return exp
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/rdtypes/ANY/LOC.py/_exponent_of/swapped operands of `%`