March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyDict_Merge
int PyDict_Merge(PyObject*x,PyObject*y,intoverride)
Updates dictionary x by merging the items
of dictionary y into
x. override
determines what happens when a key k is
present in both x and
y: if override
is 0, then
x
[
k
]
remains the same; otherwise
x
[
k
]
is replaced by the value
y
[
k
].
Read now
Unlock full access