parameters: (elem, encoding='utf-8')
return_statement: return data[data.rindex('<'):]
docstring: Render just a closing tag for elem.
docstring_summary: Render just a closing tag for elem.
docstring_tokens: Render just a closing tag for elem .
function: def close_tag(elem, encoding='utf-8'):
      """Render just a closing tag for elem."""
  
      ## Complement of open_tag_hack().
      elem.text = ' '
      data = etree.tostring(elem, encoding=encoding)
      elem.clear()
  
      ## <stream:stream ...> </stream:stream> ==> </stream:stream>
      return data[data.rindex('<'):]
function_tokens: def close_tag ( elem , encoding = 'utf-8' ) : ## Complement of open_tag_hack(). elem . text = ' ' data = etree . tostring ( elem , encoding = encoding ) elem . clear ( ) ## <stream:stream ...> </stream:stream> ==> </stream:stream> return data [ data . rindex ( '<' ) : ]