parameters: (self, container)
return_statement: return selfclosing
docstring: Get self-closing line.
docstring_summary: Get self-closing line.
docstring_tokens: Get self - closing line .
function: def selfclosing(self, container):
      "Get self-closing line."
      if not self.checktag():
        return ''
      selfclosing = '<' + self.tag + '/>'
      if self.breaklines:
        return selfclosing + '\n'
      return selfclosing
function_tokens: def selfclosing ( self , container ) : if not self . checktag ( ) : return '' selfclosing = '<' + self . tag + '/>' if self . breaklines : return selfclosing + '\n' return selfclosing