MCPcopy Create free account
hub / github.com/clips/pattern / findNext

Method findNext

pattern/web/soup/BeautifulSoup.py:267–270  ·  view source on GitHub ↗

Returns the first item that matches the given criteria and appears after this Tag in the document.

(self, name=None, attrs={}, text=None, **kwargs)

Source from the content-addressed store, hash-verified

265 self.insert(len(self.contents), tag)
266
267 def findNext(self, name=None, attrs={}, text=None, **kwargs):
268 """Returns the first item that matches the given criteria and
269 appears after this Tag in the document."""
270 return self._findOne(self.findAllNext, name, attrs, text, **kwargs)
271
272 def findAllNext(self, name=None, attrs={}, text=None, limit=None,
273 **kwargs):

Callers 3

testNextMethod · 0.80
testNextSiblingMethod · 0.80
testTextNavigationMethod · 0.80

Calls 1

_findOneMethod · 0.95

Tested by 3

testNextMethod · 0.64
testNextSiblingMethod · 0.64
testTextNavigationMethod · 0.64