[Python-Dev] 2.4a2, and @decorators (original) (raw)
Michael Hudson mwh at python.net
Thu Aug 5 15:30:20 CEST 2004
- Previous message: [Python-Dev] 2.4a2, and @decorators
- Next message: [Python-Dev] 2.4a2, and @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Chermside <mcherm at 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/
- Previous message: [Python-Dev] 2.4a2, and @decorators
- Next message: [Python-Dev] 2.4a2, and @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]