(self, source, require_matching_tags=True)
Creates a Filter

        :arg source: the source token stream

        :arg require_matching_tags: whether or not to require matching tags
Creates a Filter
Creates a Filter
def __init__(self, source, require_matching_tags=True):
        """Creates a Filter

        :arg source: the source token stream

        :arg require_matching_tags: whether or not to require matching tags

        """
        super(Filter, self).__init__(source)
        self.require_matching_tags = require_matching_tags
def __init__ ( self , source , require_matching_tags = True ) : super ( Filter , self ) . __init__ ( source ) self . require_matching_tags = require_matching_tags