Refactored ordered container stuff out of loops package and put into cybertools.container
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1039 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
26793cf43a
commit
027113973f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class OrderedContainerView(JustContents):
|
|||
|
||||
|
||||
def moveByDelta(objs, toMove, delta):
|
||||
""" Return the list given by objs resorted in a way that the elements
|
||||
""" Return the list given by objs re-ordered in a way that the elements
|
||||
of toMove (which must be in the objs list) have been moved by delta.
|
||||
"""
|
||||
result = [obj for obj in objs if obj not in toMove]
|
||||
|
|
Loading…
Add table
Reference in a new issue