Ben Finney escreveu: > "Stephen Eilert" <[EMAIL PROTECTED]> writes: > > > Is there a list somewhere listing those not-so-obvious-idioms? > > They're only not-so-obvious to those who learn one version of Python > and then ignore release notes on future versions. The "k in some_dict" > was a wonderful thing to read in the release notes, and I was glad > enough that I never forgot it :-) > > Hmm, that sounds rather snarky. I guess I'm only saying that one's > duty to oneself as a programmer is to keep up with the improved idioms > as they appear in new releases of one's language of choice.
That's fine. I do need to read those release notes retroactively, though. Stephen -- http://mail.python.org/mailman/listinfo/python-list