| Issue 57: | get_next_sibling() and get_previous_sibling() should have support for filters | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Useful in cases when there is requirement for some specific sibling. @see patch - it is a backward compatible change. |
Thanks for the patch. However, next_sibling and previous_sibling are already specific siblings. Adding filters to those methods doesn't make sense to me. If you want a different sibling, you can do node.get_siblings().get(**filters)