def parse_stylesheet(self, css_unicode, encoding=None):
        tokens = tokenize_grouped(css_unicode)
        if encoding:
            tokens = _remove_at_charset(tokens)
        rules, errors = self.parse_rules(tokens, context='stylesheet')
        return Stylesheet(rules, errors, encoding)
Parse a stylesheet from an Unicode string.
dataset/ETHPy150Open FichteFoll/CSScheme/tinycsscheme/tinycss/css21.py/CSS21Parser.parse_stylesheet