[Zope-Checkins] CVS: Packages/DocumentTemplate - DT_Util.py:1.52
Mon, 22 Mar 1999 12:28:38 -0500
Update of /cvs-repository/Packages/DocumentTemplate
In directory tarzan.digicool.com:/projects/users/jim/lib/python/DocumentTemplate
Added a new "builtin" function reorder:
reorder(s, [with, without]]) --
Reorder the items in s according to the order given in with
and with items mentioned in without removed. Items from s
not mentioned in with are removed.
s, with, and without are all either sequences if strings
or sequences of key-value tuples, with ordering done on the
This function is useful for constructing ordered select lists.