Skip to content

Commit 438e363

Browse files
sobolevnvstinner
andauthored
Update Doc/c-api/dict.rst
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 1700709 commit 438e363

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Doc/c-api/dict.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,12 @@ Dictionary objects
473473
.. c:function:: int PyDict_Update(PyObject *a, PyObject *b)
474474
475475
This is the same as ``PyDict_Merge(a, b, 1)`` in C.
476-
Return ``0`` on success or ``-1`` if an exception was raised.
476+
477477
Similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update`
478478
doesn't fall back to the iterating over a sequence of key value pairs if the
479479
second argument has no "keys" attribute.
480+
481+
Return ``0`` on success or ``-1`` if an exception was raised.
480482
481483
.. note::
482484

0 commit comments

Comments
 (0)