[New-bugs-announce] [issue28211] Wrong return value type in the doc of PyMapping_Keys/Values/Items

Xiang Zhang report at bugs.python.org
Tue Sep 20 04:57:26 EDT 2016


New submission from Xiang Zhang:

PyMapping_Keys/Values/Items can only return a list or tuple. Even in the case of a dict, it returns a list. But the doc tells a dictionary view will be returned in case of dict, which is wrong.

----------
assignee: docs at python
components: Documentation
files: mapping_doc.patch
keywords: patch
messages: 277018
nosy: docs at python, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: Wrong return value type in the doc of PyMapping_Keys/Values/Items
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44752/mapping_doc.patch

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


More information about the New-bugs-announce mailing list