A ResultSet is just a list that keeps track of the SoupStrainer that created it.
| 1002 | return result |
| 1003 | |
| 1004 | class ResultSet(list): |
| 1005 | """A ResultSet is just a list that keeps track of the SoupStrainer |
| 1006 | that created it.""" |
| 1007 | def __init__(self, source): |
| 1008 | list.__init__([]) |
| 1009 | self.source = source |
| 1010 | |
| 1011 | # Now, some helper functions. |
| 1012 |