code: def endElementNS(self, name, qname):
          
          if self._ns_prefixes_floating_out:
              raise RuntimeError("namespace prefix has not been closed")
  
          if self._pending_start_element == name:
              self._pending_start_element = False
              self._write(b"/>")
          else:
              self._write(b"</")
              self._write(self._qname(name).encode("utf-8"))
              self._write(b">")
  
          self._curr_ns_map, self._ns_prefixes_floating_out, self._ns_counter = \
              self._ns_map_stack.pop()
docs: End a previously started element. `name` must be a ``(namespace_uri,
          localname)`` tuple and `qname` is ignored.