>>> h = ' Hi Bye ' >>> d = PyQuery(h) >>> d('p:last').next_all() [ ] >>> d('p:last').nextAll() [ ]
(self, selector=None)
| 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): |