MCPcopy Create free account
hub / github.com/csev/py4e / ResultSet

Class ResultSet

code/BeautifulSoup.py:1004–1009  ·  view source on GitHub ↗

A ResultSet is just a list that keeps track of the SoupStrainer that created it.

Source from the content-addressed store, hash-verified

1002 return result
1003
1004class 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

Callers 1

_findAllMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected