Skip to content

Commit 5a5a392

Browse files
authored
Update Doc/c-api/dict.rst
1 parent 14e2f90 commit 5a5a392

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/c-api/dict.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ Dictionary objects
475475
This is the same as ``PyDict_Merge(a, b, 1)`` in C.
476476
477477
Similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update`
478-
doesn't fall back to the iterating over a sequence of key value pairs if the
479-
second argument has no "keys" attribute.
478+
doesn't not support a sequence of key value pairs as *b* parameter.
479+
Use :c:func:`PyDict_MergeFromSeq2` in this case.
480480
481481
Return ``0`` on success or ``-1`` if an exception was raised.
482482

0 commit comments

Comments
 (0)