Re: [Python-Dev] {}.getitem() (was Re: PEP-0218)

Nov. 30, 2000
8:06 a.m.
"M.-A. Lemburg" <mal@lemburg.com> writes:
You wouldn't. I was thinking of the dict-as-sets code that was being flung around earlier.
Yes.
I was trying to make an analogy between .firstkey/.firstitem and .keys/.items - the for k,_ in dict.items(): ... was meant to be compared to for k in dict.keys(): ... Sorry for being obscure. Cheers, M. -- "declare"? my bogometer indicates that you're really programming in some other language and trying to force Common Lisp into your mindset. this won't work. -- Erik Naggum, comp.lang.lisp
8874
Age (days ago)
8874
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Hudson