26 Jun 2002 26 Jun '02
"RH" == Raymond Hettinger firstname.lastname@example.org writes:
RH> Second wild idea of the day: The dict constructor currently RH> accepts sequences where each element has length 2, interpreted RH> as a key-value pair.
RH> Let's have it also accept sequences with elements of length 1, RH> interpreted as a key:None pair.
That seems a little too magical to me.
RH> Raymond Hettinger 'regnitteh dnomyar'[::-1]
Then again it seems like you like magic!