capybara/virtualenv/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.py
def parseFragment(self, stream, container="div", encoding=None,
                      parseMeta=False, useChardet=True):
        """Parse a HTML fragment into a well-formed tree fragment

        container - name of the element we're setting the innerHTML property
        if set to None, default to 'div'

        stream - a filelike object or string containing the HTML to be parsed

        The optional encoding parameter must be a string that indicates
        the encoding.  If specified, that encoding will be used,
        regardless of any BOM or later declaration (such as in a meta
        element)
        """
        self._parse(stream, True, container=container, encoding=encoding)
        return self.tree.getFragment()
def parseFragment(self, stream, container="div", encoding=None,
                      parseMeta=False, useChardet=True):
        self._parse(stream, True, container=container, encoding=encoding)
        return self.tree.getFragment()
def parseFragment ( self , stream , container = "div" , encoding = None , parseMeta = False , useChardet = True ) : self . _parse ( stream , True , container = container , encoding = encoding ) return self . tree . getFragment ( )
Parse a HTML fragment into a well-formed tree fragment

        container - name of the element we're setting the innerHTML property
        if set to None, default to 'div'

        stream - a filelike object or string containing the HTML to be parsed

        The optional encoding parameter must be a string that indicates
        the encoding.  If specified, that encoding will be used,
        regardless of any BOM or later declaration (such as in a meta
        element)
Parse a HTML fragment into a well - formed tree fragment