kif_lib.KIF_Object.replace#

KIF_Object.replace(*args: Any) Object#

Shallow-copies object overwriting the given arguments.

If a given argument is None, keeps the value of the corresponding argument in the resulting object.

If a given argument is Nil, sets the corresponding argument to None in the resulting object.

Parameters:

args – Arguments.

Returns:

A shallow copy of object.