Name
replaceChild
Synopsis
n
.replaceChild(child
,oldChild
)
Makes child
the child of
n
in
oldChild
’s place,
whatever child
’s parent
was (including n
or
None
). oldChild
must be
a child of n
. Returns
oldChild
.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.