From 027113973f4756ca171f013c4d236122fe693754 Mon Sep 17 00:00:00 2001 From: helmutm Date: Fri, 27 Jan 2006 08:54:30 +0000 Subject: [PATCH] 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 --- container/ordered.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/ordered.py b/container/ordered.py index e317e41..bdd2db8 100644 --- a/container/ordered.py +++ b/container/ordered.py @@ -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]