[Python-3000] docstring for dict.values

Guido van Rossum guido at python.org
Fri Jul 27 18:33:32 CEST 2007


On 7/27/07, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> Why the docstrings for 'dict.values' says "a set-like object ..." ??
>
> >>> list(dict(a=1,b=1,c=1).values())
> [1, 1, 1]

Oops, that's a bug! Thanks for reporting.

Committed revision 56584.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list