django.utils.six.moves.html_parser.HTMLParser.__init__

Here are the examples of the python api django.utils.six.moves.html_parser.HTMLParser.__init__ taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

Example 1

Project: django-critical
Source File: parser.py
View license
    def __init__(self, content):
        html_parser.HTMLParser.__init__(self)
        self.content = content
        self._current_tag = None
        self.css_entries = []
        self.feed(self.content)
        self.close()

Example 2

Project: django-critical
Source File: parser.py
View license
    def __init__(self, content):
        html_parser.HTMLParser.__init__(self)
        self.content = content
        self._current_tag = None
        self.css_entries = []
        self.feed(self.content)
        self.close()