My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  WontFix
Owner:  ----
Closed:  Sep 2010


 
Reported by pcicman@gmail.com, Jul 22, 2009
Useful in cases when there is requirement for some specific sibling. @see patch - it is a backward 
compatible change.
mpttpatch.txt
1.9 KB   View   Download
Sep 3, 2010
Project Member #1 craig.ds@gmail.com
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)

Status: WontFix

Powered by Google Project Hosting