(nobody sees the fnord -- remove relic from testing)

master
chrysn 2012-03-20 12:00:21 -04:00 committed by admin
parent c9d9769f83
commit e32cad7820
1 changed files with 0 additions and 1 deletions

View File

@ -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))