MCPcopy Create free account
hub / github.com/gawel/pyquery / next_all

Method next_all

pyquery/pyquery.py:467–476  ·  view source on GitHub ↗

>>> h = ' Hi Bye ' >>> d = PyQuery(h) >>> d('p:last').next_all() [ ] >>> d('p:last').nextAll() [ ]

(self, selector=None)

Source from the content-addressed store, hash-verified

465
466 @with_camel_case_alias
467 def next_all(self, selector=None):
468 """
469 >>> h = '<span><p class="hello">Hi</p><p>Bye</p><img scr=""/></span>'
470 >>> d = PyQuery(h)
471 >>> d('p:last').next_all()
472 [<img>]
473 >>> d('p:last').nextAll()
474 [<img>]
475 """
476 return self._filter_only(selector, self._next_all())
477
478 @with_camel_case_alias
479 def next_until(self, selector, filter_=None):

Callers 2

next_untilMethod · 0.95
test_next_allMethod · 0.80

Calls 2

_filter_onlyMethod · 0.95
_next_allMethod · 0.95

Tested by 1

test_next_allMethod · 0.64