For each attribute-value update specified, this function only replaces the
first matching attribute found. Nested objects are traversed depth-first in
post-order, with level-wise order determined by the list ordering returned
A namedtuple to replace (nested) fields in.
If True, return the dict of attribute-value pairs in
**kw that were not found and updated in ntuple.
A single-argument callable that returns a list of
(attribute name, nested object) pairs. Defaults to get_nested_objs.
The attribute-value pairs to update.
A copy of ntuple with (nested) fields updated.
If return_unused is True, the dictionary of attribute-value
pairs in **kw that were not found and updated in ntuple.
if returne_unused=False and attributes in **kw are not found