def mapped_collection(keyfunc):
 return (lambda : MappedCollection(keyfunc))

def mapped_collection ( keyfunc ) : return ( lambda : MappedCollection ( keyfunc ) )
a dictionary-based collection type with arbitrary keying .