cf.DomainList.__setitem__

DomainList.__setitem__(key, value, /)

Set self[key] to value.