Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/bleach/_vendor/html5lib/filters/base.py: 78%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1from __future__ import absolute_import, division, unicode_literals 

2 

3 

4class Filter(object): 

5 def __init__(self, source): 

6 self.source = source 

7 

8 def __iter__(self): 

9 return iter(self.source) 

10 

11 def __getattr__(self, name): 

12 return getattr(self.source, name)