def _fill_single(input, value): if _nons(input.tag) == 'textarea': input.text = value else: input.set('value', value)