1. Amirouche Boubekki
  2. n0v4pl4n3t

Source

n0v4pl4n3t / html5lib / filters / _base.py


class Filter(object):
    def __init__(self, source):
        self.source = source

    def __iter__(self):
        return iter(self.source)

    def __getattr__(self, name):
        return getattr(self.source, name)