[docs] [issue18456] Documentation for PyDict_Update is incorrect

Nick Coghlan report at bugs.python.org
Mon Jul 15 04:11:12 CEST 2013


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 at python
components: Documentation
messages: 193070
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue18456>
_______________________________________


More information about the docs mailing list