<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_parser(self, html_parser, current_url):
 """ Create the tinycss stylesheet. :param html_parser: The HTML parser. :type html_parser: hatemile.util.html.htmldomparser.HTMLDOMParser :param current_url: The current URL of page. :type current_url: str """


        css_code = ''

        elements = html_parser.find(
            'style,link[rel="stylesheet"]'
        ).list_results()
        for element in elements:
            if element.get_tag_name() == 'STYLE':
                css_code = css_code + element.get_text_content()
            else:
                css_code = css_code + requests.get(
                    urljoin(current_url, element.get_attribute('href'))
                ).text

        self.stylesheet = tinycss.make_parser().parse_stylesheet(css_code)