good name for a dict/list hybrid

William Yeo ndsystems at dataflux.bc.ca
Tue Jan 7 00:18:29 EST 2003


In article <avd4ti$2jr$1 at slb0.atl.mindspring.net>,
 Andrew Dalke <adalke at mindspring.com> wrote:

> I have a class which I'm calling DictList.  Its used for an ordered
> dictionary which can have multiple keys, though in almost all cases
> it only has single keys.  It is ordered, so I want away to get an
> entry by position in the insertion order, which are integers.

[class eexample snipped]

> 
> Code will be posted after I get a good name.  :)
> 
> 
> 					Andrew
> 					dalke at dalkescientific.com
> 

How about calling it a 'cubby', so the data can be 'cubbyholes' :-)

Will




More information about the Python-list mailing list