On Mon, Apr 21, 2008 at 4:59 PM, kirby urner <[EMAIL PROTECTED]> wrote:
<< SNIP >> > The reasoning here (as I understood it) is thedict is an > iterable and so has a __next__, meaning we don't need > to flag it as anything special with the keys() modifier, i.e. > stick with a more generic syntax to where the reader is > just thinking "iterable" and not "dictionary" per se. Note that in 2.x there's no __next__ method per se i.e. no under-under "rib" (special name). This changed with PEP 3114: http://www.python.org/dev/peps/pep-3114/ Kirby _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
