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

Method findNextSibling

pattern/web/soup/BeautifulSoup.py:279–283  ·  view source on GitHub ↗

Returns the closest sibling to this Tag 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

277 **kwargs)
278
279 def findNextSibling(self, name=None, attrs={}, text=None, **kwargs):
280 """Returns the closest sibling to this Tag that matches the
281 given criteria and appears after this Tag in the document."""
282 return self._findOne(self.findNextSiblings, name, attrs, text,
283 **kwargs)
284
285 def findNextSiblings(self, name=None, attrs={}, text=None, limit=None,
286 **kwargs):

Callers 2

testNextSiblingMethod · 0.80
testTextNavigationMethod · 0.80

Calls 1

_findOneMethod · 0.95

Tested by 2

testNextSiblingMethod · 0.64
testTextNavigationMethod · 0.64