File: base.py

package info (click to toggle)
python-html5rdf 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,448 kB
  • sloc: python: 12,794; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11


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

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

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