[Tutor] container class
Sat, 02 Feb 2002 22:45:20 -0700
Paul Sidorsky wrote:
> > self.contents[entry.ln + entry.fn] = entry
> Consider 1) fn="paul", ln="adamson" and 2) fn="paula", ln="damson".
> Both would yield "pauladamson" as a key name.
Whoops, misread the concatenation order, so my example is wrong. It
works if you swap fn and ln in each case, though then the actual names
don't really make sense.
I'm too lazy to come up with reasonable-sounding names for another
example, so hopefully the essence of my point was not lost...
Paul Sidorsky Calgary, Canada