code: def _process_elem_attrs(elem, dic, subdic, container=dict, attrs="@attrs",
                          **options):
      
      adic = _parse_attrs(elem, container=container, **options)
      if not elem.text and not len(elem) and options.get("merge_attrs"):
          dic[elem.tag] = adic
      else:
          subdic[attrs] = adic
docs: :param elem: ET Element object or None
      :param dic: <container> (dict[-like]) object converted from elem
      :param subdic: Sub <container> object converted from elem
      :param options:
          Keyword options, see the description of :func:`elem_to_container` for
          more details.
  
      :return: None but updating dic and subdic as side effects