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@python
components: Documentation
files: mapping_doc.patch
keywords: patch
messages: 277018
nosy: docs@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:

Python tracker <>
Python-bugs-list mailing list

Reply via email to