parameters: (self, tag, attrs)
return_statement: return elem
docstring: Open new element and return it.
  
          *tag* is the element name, *attrs* is a dict containing element
          attributes.
docstring_summary: Open new element and return it.
docstring_tokens: Open new element and return it .
function: def start(self, tag, attrs):
          """Open new element and return it.
  
          *tag* is the element name, *attrs* is a dict containing element
          attributes.
  
          """
          self._flush()
          self._last = elem = self._factory(tag, attrs)
          if self._elem:
              self._elem[-1].append(elem)
          self._elem.append(elem)
          self._tail = 0
          return elem
function_tokens: def start ( self , tag , attrs ) : self . _flush ( ) self . _last = elem = self . _factory ( tag , attrs ) if self . _elem : self . _elem [ - 1 ] . append ( elem ) self . _elem . append ( elem ) self . _tail = 0 return elem