def headings_by_level(self, level, name=None):
        if name is None:
            name = "{0}({1})".format(self._name + ".headings_by_level",
                                     level)
        return filters.filter(HeadingOfLevel(level).filter, self.headings,
                              name=name)
Constructs a :class:`revscoring.Datasource` that generates a `list` of
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/features/wikitext/datasources/parsed.py/Revision.headings_by_level