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: http://bugs.python.org/file44752/mapping_doc.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28211>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to