

def _validate_float_string(what):
    if ((what[0] == '-') or (what[0] == '+')):
        what = what[1:]
    if left.isdigit():
        return
    (left, right) = what.split('.')
    if ((left == '') and (right == '')):
        raise dns.exception.FormError
    if ((not (left == '')) and (not left.isdigit())):
        raise dns.exception.FormError
    if ((not (right == '')) and (not right.isdigit())):
        raise dns.exception.FormError

dataset/ETHPy150Open catap/namebench/nb_third_party/dns/rdtypes/ANY/GPOS.py _validate_float_string/VarMisuse@43/48 `what`->`left`