X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c9d9769f8373f64e027f3e041fd16c412f76b19a..00a8ae09cc19ddbe29b962da1e2e4a540f421b40:/doc/todo/sort_parameter_for_map_plugin_and_directive/python_algorithms.py diff --git a/doc/todo/sort_parameter_for_map_plugin_and_directive/python_algorithms.py b/doc/todo/sort_parameter_for_map_plugin_and_directive/python_algorithms.py index 894c5212e..e89c54fae 100644 --- a/doc/todo/sort_parameter_for_map_plugin_and_directive/python_algorithms.py +++ b/doc/todo/sort_parameter_for_map_plugin_and_directive/python_algorithms.py @@ -39,7 +39,6 @@ def strategy_byparents(sequence): >>> sequence = testsequence >>> assert partindices("c/2/x") == (sequence.index("c"), sequence.index("c/2"), sequence.index("c/2/x")) - fnord """ return tuple(sequence.index(item.rsplit('/', i)[0]) for i in range(item.count('/'), -1, -1))