[Python-3000] Dropping the parentheses after dict.keys?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Dec 13 21:24:51 CET 2007


I wrote:
> d.keys() will create
> and return an indexable view object,

Sorry, that's not quite right -- it probably won't be
indexable, only iterable.

But the argument for keeping it as a method still
applies.

--
Greg


More information about the Python-3000 mailing list