Skip to content

Commit 77466e6

Browse files
sobolevnencukou
andauthored
Update Doc/c-api/dict.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 3376493 commit 77466e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎Doc/c-api/dict.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ Dictionary objects
474474
475475
This is the same as ``PyDict_Merge(a, b, 1)`` in C.
476476
Return ``0`` on success or ``-1`` if an exception was raised.
477+
478+
Similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update`
479+
doesn't fall back to the iterating over a sequence of key value pairs if the
480+
second argument has no "keys" attribute.
477481
478482
.. note::
479483

0 commit comments

Comments
 (0)