Did I find the right examples for you? yes no

All Samples(16)  |  Call(12)  |  Derive(0)  |  Import(4)

src/c/o/compression-HEAD/css-propname-elim/tinycss/page3.py   compression(Download)
 
from __future__ import unicode_literals, division
from .css21 import CSS21Parser, ParseError
 
 
    def parse_at_rule(self, rule, previous_rules, errors, context):
        if rule.at_keyword in self.PAGE_MARGIN_AT_KEYWORDS:
            if context != '@page':
                raise ParseError(rule,
                    '%s rule not allowed in %s' % (rule.at_keyword, context))
            if rule.head:
                raise ParseError(rule.head[0],
            if specificity:
                return (name, pseudo_class), (name_specificity + specificity)
        raise ParseError(head[0], 'invalid @page selector')
 

src/c/o/compression-HEAD/css-binary-fmt/tinycss/page3.py   compression(Download)
 
from __future__ import unicode_literals, division
from .css21 import CSS21Parser, ParseError
 
 
    def parse_at_rule(self, rule, previous_rules, errors, context):
        if rule.at_keyword in self.PAGE_MARGIN_AT_KEYWORDS:
            if context != '@page':
                raise ParseError(rule,
                    '%s rule not allowed in %s' % (rule.at_keyword, context))
            if rule.head:
                raise ParseError(rule.head[0],
            if specificity:
                return (name, pseudo_class), (name_specificity + specificity)
        raise ParseError(head[0], 'invalid @page selector')
 

src/c/s/CSScheme-HEAD/tinycsscheme/tinycss/page3.py   CSScheme(Download)
 
from __future__ import unicode_literals, division
from .css21 import CSS21Parser, ParseError
 
 
    def parse_at_rule(self, rule, previous_rules, errors, context):
        if rule.at_keyword in self.PAGE_MARGIN_AT_KEYWORDS:
            if context != '@page':
                raise ParseError(rule,
                    '%s rule not allowed in %s' % (rule.at_keyword, context))
            if rule.head:
                raise ParseError(rule.head[0],
            if specificity:
                return (name, pseudo_class), (name_specificity + specificity)
        raise ParseError(head[0], 'invalid @page selector')
 

src/t/i/tinycss-0.3/tinycss/page3.py   tinycss(Download)
 
from __future__ import unicode_literals, division
from .css21 import CSS21Parser, ParseError
 
 
    def parse_at_rule(self, rule, previous_rules, errors, context):
        if rule.at_keyword in self.PAGE_MARGIN_AT_KEYWORDS:
            if context != '@page':
                raise ParseError(rule,
                    '%s rule not allowed in %s' % (rule.at_keyword, context))
            if rule.head:
                raise ParseError(rule.head[0],
            if specificity:
                return (name, pseudo_class), (name_specificity + specificity)
        raise ParseError(head[0], 'invalid @page selector')