[Python-Dev] 2.4a2, and @decorators

Michael Chermside mcherm at mcherm.com
Thu Aug 5 15:04:09 CEST 2004


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!?

-- Michael Chermside



More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant