out_str += str("max_length").ljust(ts * 4) + ':' + str(
            self.restriction.max_length) + "\n"