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/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4