def ordering_list(attr, count_from=None, **kw):
 kw = _unsugar_count_from(count_from=count_from, **kw)
 return (lambda : OrderingList(attr, **kw))

def ordering_list ( attr , count_from = None , ** kw ) : kw = _unsugar_count_from ( count_from = count_from , ** kw ) return ( lambda : OrderingList ( attr , ** kw ) )
prepares an :class:orderinglist factory for use in mapper definitions .