[Tutor] indexing with a class
Terry Carroll
carroll at tjc.com
Sat Feb 28 14:24:24 EST 2004
On Sat, 28 Feb 2004, Karl Pflästerer wrote:
> On 28 Feb 2004, Christopher Spears <- cspears2002 at yahoo.com wrote:
>
> > I am trying to create a class in the UserDict module
> > that will remember the order in which I enter keys.
>
> If you use a newer Python (newer 2.2 IIRC you can subclass dict()).
I was going to mention that before, but, as Christopher related it, the
constraint on this homework problem was to use UserDict.
--
Terry Carroll
Santa Clara, CA
carroll at tjc.com
More information about the Tutor
mailing list