
Aug. 5, 2004
1:30 p.m.
Michael Chermside <mcherm@mcherm.com> writes:
Michael Hudson writes:
that would be insane,
class C(random.choice([dict, list])): pass
is my favourite example of this :-)
Where is THAT monstrocity used!?
Well, it's not, I hope :-) It might occasionally be useful for proving to people that Python really doesn't believe in declarations. Cheers, mwh -- Need to Know is usually an interesting UK digest of things that happened last week or might happen next week. [...] This week, nothing happened, and we don't care. -- NTK Now, 2000-12-29, http://www.ntk.net/