if defnr not in [1, 2, 3, 4]:
            raise ValueError('kind must be one of (1, 2, 3, 4, "u", "uM",'