New submission from Nick Coghlan:

The docs from PyDict_Update 
(http://docs.python.org/3/c-api/dict.html#PyDict_Update) claim it is equivalent 
to the Python level dict.update 
(http://docs.python.org/3/library/stdtypes#dict.update)

This isn't accurate - unlike dict.update, PyDict_Update doesn't fall back to 
the iterating over a sequence of key value pairs if the second argument has no 
"keys" attribute.

----------
assignee: docs@python
components: Documentation
messages: 193070
nosy: docs@python, ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Documentation for PyDict_Update is incorrect
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4

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

Reply via email to