[issue28211] Wrong return value type in the doc of PyMapping_Keys/Values/Items

Serhiy Storchaka report at bugs.python.org
Tue Sep 20 06:30:37 EDT 2016


Serhiy Storchaka added the comment:

Hmm, the documentation was changed in issue25909, but seems I was wrong. Since PyDict_Items() returns a list, but not a dict view, PyMapping_Items() can return only a list or a tuple.

----------
nosy: +martin.panter, mine0901, orsenthil, python-dev, r.david.murray, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28211>
_______________________________________


More information about the Python-bugs-list mailing list